cancel
Showing results for 
Search instead for 
Did you mean: 

Need information regarding Wait Step

Former Member
0 Kudos

Hi All,

I am working on workflow scenario, where I have a wait step for an event (to be triggered by an incoming Idoc). Now when a time frame is reached, a workitem should be raised for an agent to take the action ( to continue wait or cancel the process).

I understand that the wait for an event step also raises a work item. So I am planning to design as follows.

1. Activate the requested start date tab which will put the WI in the inbox. But not very sure how to capture the agent decision and go back to wait step or cancel accordingly.

Can someone provide me some inputs?

~ Roopesh

Accepted Solutions (0)

Answers (2)

Answers (2)

martin_nooteboom
Active Contributor
0 Kudos

Hi Roopesh,

This is a duplicate thread. Please close it, as the other one is already marked answered.

Regards,

Martin

Message was edited by:

Martin Nooteboom

Just saw the duplicate thread.

Former Member
0 Kudos

Dear Roopesh,

You would need to store the result of a user decision in an element of the workflow container. Hence, you must define a binding from the task container to the workflow container.

You can raise the wait step or cancel the work item based on the condition outcome of the user the decision.

Binding Definition for Decision Task:

The following container element in the task container is particularly significant for this binding:

WIResult (result)

The result of the user decision is available in this element as a text field after processing. Depending on the number and sequence of possible decision options, these are the values 0001 , 0002 up to nnnn .

To implement this, you define an appropriate element (ABAP Dictionary reference SWD_LINES-RETURNCODE ) in the workflow container to hold this user decision result.

Regards,

Naveen.