Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to go back to previous step in a sub workflow?

692994Oct 5 2010 — edited Oct 6 2010
We are calling a sub workflow upon approval action from a main workflow. In the child workflow we have 9 steps. If at any step in the child workflow (other than first) user does reject action, the workflow control should go back to previous step in the child workflow itself.

We added a custom action in the exit events of all the child workflow steps. Following is the logic of exit event of Step4 of child workflow. Similar logic is there for all steps in the child workflow.

<$if wfAction and wfAction like "REJECT"$>
<$wfSet("wfJumpTargetStep", "Step3@childWF")$>
<$wfSet("wfJumpEntryNotifyOff", "0")$>
<$endif$>

With this code when the user is doing reject action from child workflow, it is taking us back to the main workflow and not to the previous step of child workflow.

Is this approach correct?

-Pratap
This post has been answered by kentucm - oracle on Oct 5 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 3 2010
Added on Oct 5 2010
6 comments
580 views