cancel
Showing results for 
Search instead for 
Did you mean: 

wait step event

Former Member
0 Kudos

Hi,

i am new to the workflows.i worked in support project and i am looking for development.

could any one can explain:

what is wait step event,

when it should be used and

while creating the wait step event do we use any tcodes to assign the events(swetypv,sweinst etc)

generally when we use starting events we will write start conditions based up on that event will be triggered so in the same way how waitstep event will be triggered?

Regards,

Mudhiraj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

1) what is wait step event?

This is an step that waits a defined event occurs.

2) when it should be used?

You should use this step when you need to stop the execution of the workflow.

You should not use this step type in a fork to wait for an event that is triggered in another branch of the same fork.

If the event arrives, it completes all wait steps that are waiting for this event.

The event could be triggerred by a Condition, a Local Event, an Event and Using WF.

3) while creating the wait step event do we use any tcodes to assign the events(swetypv,sweinst etc)?

You don't need to do that.

4) generally when we use starting events we will write start conditions based up on that event will be triggered so in the same way how waitstep event will be triggered?

You can see WS 00400012 as an example.

Regards,

Answers (2)

Answers (2)

bpawanchand
Active Contributor
0 Kudos

[Please Check this wiki|https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageid=72123805]

Former Member
0 Kudos

Use

A wait step can wait for:

u2022 An event

u2022A condition

u2022A local event

u2022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:

u2022To suspend the workflow until a defined event has occurred.

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.

u2022To wait for an event in a parallel processing branch, which renders processing in the other

branches unnecessary.

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

u2022Wait for the result or a message from another workflow that was started in another system by the

WebFlow function.

u2022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.