Working on the requirement where depending upon the document status from the user task i am triggering mail on document sttaus pending or ending the flow when status is completed.After triggering the mail timer is triggered where it has to wait for certain time and then once again document status user task check will be performed.So the loop will continue till the status get completed.
I have implemented in spring boot where the timer is not waiting upon execution. Upon reading the documentation found that by using managementservice.execute is forces the timer to execute. Where as the timer which is actually a background process which is triggered and run in the background.Is there any way to execute the timer as background process which waits for a time interval.
As of now i have a work around where i am manually making it to sleep by calculating time interval from task start time and job due time.
Please find the source code along with bpm xml file as attchments.
Solved! Go to Solution.
Found solution, redesigning the flow where we have to use activiti components for our java implementation.
Attaching the bpm flow and from rest layer only need to instantiate the process instance to execute the flow, activiti API will take care of everything by itself.
Found solution, redesigning the flow where we have to use activiti components for our java implementation.
Attaching the bpm flow and from rest layer only need to instantiate the process instance to execute the flow, activiti API will take care of everything by itself.
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.