on 10-13-2008 11:12 AM
Hi there,
We are using GP workflow for a particular scenario in which we have a situation where the control needs to go back and forth between two actions which are under a single block.
For example,
Action 1 - First Action
Action 2 - Second Action
Both these actions are within the same block. We need to know is there a way where from Action 1 goes to Action 2 and then coming again back to Action 1 from Action 2. This process should be of indefinite times until the Action 2 says it is complete.
Regards,
Ponraj M
hi,
i think it is possible
in the you can set one result state in each of the action and can set the destination as you want
if u r using webdynpro callable object this is very easy.
with regards
shanto aloor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ponraj,
The Callable Object you have attached to each of the Action must be having some result states..
Since you are using Web Dynpro Callable Object you can define the Result States in the Interface of the Callable Object.
Lets say in the Web Dynpro Callable Object you have two Resutl States :
Completed
Not Completed
Every time the control goes to Action2 you check if the execution is Not Completed in which case you set the target of the Result State Not Completed to Action1 in the Design time. This will ensure that the control goes from Action 2 to Action1 as long as the Result State is Not Completed.
Now if the Result State in Action 2 is Completed you can proceed with your GP Workflow.
Similarly in the Result State of the Callable Object attached to Action1 you set the target to Action2.
Hope this solves your problem.
Regards
Sundeep
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.