Hi everyone,
I'm currently facing the following situation:
A workflow has a 'wait for sub-workflows' step. A new request came in, to assign a task during this step, so that the workflow still get's listed in the tasks overview. So far so good, I used the 'Create a task' action to manually add a task. Unfortunately, this task isn't completed when the workflow moves to the next step. As a result there are two task in the next step. The one which is created by the path transition and the one created by the task. I assumed that choosing "Set other tasks as finished" on the path would finish it, but this is not the case.
That's the situation and I'm wondering whether there's another option to finish the manual created task instead of using one of these approaches:
a) Changing the step from 'wait for sub-workflow' to an intermediate one, adding actions to the sub workflow to move the workflow forward once all are finished. This get's a little tricky, because there are two types of workflows which can be created and finished at any time but must be completed at a defined step. Workflow one can be created during step 1-4 but must all must be completed in step 4, if any exist. The second one can be created during step 1-6 and all must be completed in step 6. If the parent workflow is not in step 4 or 6 nothing should happen to it.
b) I thought about creating a Custom Action using the SDK but I didn't see an option for this.
Best regards,
Daniel