Start of Content Area

Function documentation Wait Step  Locate the document in its SAP Library structure

Use

A wait step (This graphic is explained in the accompanying text) can wait for:

·        An event

·        A condition

·        A local event

·        An event that is initially received by the workflow.

At runtime, a wait step is represented by a wait step work item. Wait step work items are not displayed in the Business Workplace. You can, however, locate these using work item selection.

Correlations

You can use a correlation  when waiting for an event and when waiting for an event by using workflow. A correlation enables you to identify objects that belong together, for example, a quotation and the relevant sales order.

Features

Wait for Event

When waiting for an event, the wait step is terminated when the event specifies occurs. This event terminates all wait steps waiting for this event.

You can use this type of wait step for the following purposes:

·        To suspend the workflow until a defined event has occurred.

Example

A workflow is to wait until documents requested have been provided for an applicant activity. Once the requested documents are received, the transaction used for inbound processing and archiving creates an event which the wait step waits as a receiver.

·        To wait for an event in a parallel processing branch, which renders processing in the other branches unnecessary.

Note

The event for which the wait step waits should not be created in the other branches of the fork.

·        Wait for the result or a message from another workflow that was started in another system by the WebFlow function.

·        Wait for a message of the process that the workflow started using a Wf-XML message.

Wait for Condition

When waiting for an event, the wait step is terminated when the corresponding condition returns the value true.

Wait for Local Event

When waiting for a local event, the wait step is terminated when this event occurs.

Wait for Event Via Workflow

When waiting for an event via the workflow, the event is initially received and temporarily saved by the workflow. Once the wait step has been activated, the event is forwarded to the wait step. During waiting via the workflow, the event can terminate a maximum of one wait step. If several wait steps are active, the event terminates the oldest wait step.

 

End of Content Area