Forum Discussion
Hi Phinnix
It works but still I can see the subflow has the active task n In Basket with activity Delegate and Refuse (actual subflow is already closed but task from subflow is still active). How to make it disappear from user In Basket
Thank You
Gopikrishnan
Hey Gopikrishnan,
Sorry about the delay in the response. I'm not sure why that step would have stayed open the only time we've experienced this issue is when we have two subworkflows running parallel within a subworkflow of a main workflow. If you are trying to run your parallel paths like this you will need a separate solution. I currently have a user testing a solution for the above scenario and if it works I'll link to my forums post where I'll post the solution to this. outside of this being the case I have a few questions.
Is this Rework step the autostep that you are assigning your path from in prep for exiting the subworkflow?
If it is. Is it also the an end step of the subworkflow?
If it's not it might need to be.
Where does it go once it leaves your subworkflow?
Also screenshots of the workflow would help so I can see where and what is getting stuck.
- Gopikrishnan7 years agoIdeator I
Hi Phinnix
Main Workflow
In Review has Parallel Activity (Automatic Activity)
Sub Workflow
Complete is Automatic Activity and Wait for all inputs is selected and End Activity
Rework is not Automatic Activity and Wait for all inputs is not selected and End Activity
Server Events is attached to Complete and Rework Activity
Any help will be much appreciated
- Kyle_V_7 years agoIdeator I
Hey Gopikrishnan
So based on your In Basket and your workflow this is what I think is happening. I think it is making it to the Rework on the main workflow but appears to be in the subflow because the activities are the same name. Can you rename the Rework on the main workflow to Rework1 just to test this hypothesis?
If the Activity in the In Basket is Rework1 then it's at the correct step if not then it's not making it there this can be changed back after we determine which step it is at.Also another reason I think it's getting to the correct step is the Rework step on the main workflow doesn't have any paths off of it so in that case it would only offer to delegate or refuse. I suggest adding a path back to In Review so that after the Rework on the Main workflow is complete it can be reviewed again. adding this path would be another good test to see if everything is working as you would then have the voting options delegate, refuse, and in the below example Ready for Review.
Lastly the path coming off of New Activity and going to Released needs to be the same name as the step that would send it there so for the method to work you will need to change the path from Released to Complete or the Activity in the subflow would need to be changed from Complete to Released. If the path and the end activity don't match you will get the "Not a single Item" error.Main workflow changes:
Please note changing a workflow map will not effect workflow processes that have already been started you will need to start a new workflow process to see these changes.
- Gopikrishnan7 years agoIdeator I
Kudos to you. It works like a charm. As you guessed, active task is based on the main workflow. One more question, Can you provide the exact event where I need to add these 2 methods as per your previous reply.