I have a flow (say Flow-B)and an assignment (Assign-1) in it. Once processed, it can either come back to same assignment or it can end the flow based on conditions. I can trigger Flow-B any number of times from another flow(say Flow-A). So, my problem is if that Assign-1 exists when I am entering Flow-B again, I need to open that assignment in perform rather than creating a new assignment.
I was successful in stopping the flow from creating new assignment but, I am not able to open Assign-1 in perform.
Can this be done? If yes, please tell me how to achieve this.
You would probably want to use a decision shape in front of the assignment shape. An assignment shape always creates a new assignment. If your decision shape decides you want to open an existing assignment instead of making a new assignment, perhaps it can flow to a utility shape whose target activity does something similar to what happens when a user clicks an existing assignment on a work list. You could trace such a click to learn what sorts of activity would be appropriate to call from your utility shape. /Eric
I have worked it out in a similar way you suggested. Like I mentioned in the question, I already have a decision shape to skip the flow from creating a new assignment. Now, I have placed a utility in the flow which will be called when there is an existing assignment and in the utility, I am searching and opening the assignment onto newAssignPage and then calling ProcessAssignment activity on newAssignPage which is actually opening the assignment on my screen