Hi,
Please see the attached diagram.
I have a workflow that uses a subprocess. The subprocess waits for a set of series to arrive (labeled #1, see the associated question), when everything is ready, the workflow should proceed to the plugin (a JavaDelegate, labeled #3). But the plugin takes longer than the sub-process timeout (labeled #2) and the workflow exits (labeled #4) through the timeout branch, not the "plugin" branch.
If the "plugin" is async, all works well, but if not, the sub-process timeout fires and the workflow exits unexpectedly. I would not have expected this behavior.
Should Activiti detect that the execution has left the sub-process and cancel the timeout?
Thanks,
-dan
Why is it inconvenient if it is asynchronous?
If it is synchronous, since the transaction is not committed until Recieve task is arreived, the timer job cannot check that the subprocess has completed.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.