Hello , I'm trying to define advanced workflow: 1. start task and assign to group 2. one of users takes ownership and then could continue executing or stop any activities 3. if user chooses executing - task status should change to "In progress" else to "Canceled" 4. If task is in progress it could be solved or resined to other user
May be you could help me with 2-4 steps. Or should create different tasks like taskFromGroup, taskExecuting? If so how to change bpm:status?
I would suggest having a look at the out of the box workflows in the product, and use them as your starting point. You can find them at alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/workflow
You'll probably need to use the AlfrescoJavaScript action to script the automation around status as you mentioned. There should be some examples of that kind of action in the OOTB workflows.
Thanks for quick answer. I already looked at that folder. There is always new task is created on the next step. There is no possibility to avoid it or is it unique workflow ID that other systems (I also have integrations) could use to get the process status?