Entering content frameFunction documentation Advancing with Immediate Dialog Locate the document in its SAP Library structure

Use

By advancing with immediate dialog, you speed up the processing of a workflow if more than one subsequent step of a workflow is to be processed by the same user.

Features

The flag Advance with immediate dialog can either be set for each step individually or for the whole workflow.

If the indicator is set, the workflow system checks whether the actual agent of the work item that has just been completed is also a recipient of the subsequent work item. If this is the case, work item execution is started immediately.

Example

A user decides in a user decision to revise the notification of absence rejected by their superior. Since the user is therefore also the recipient of the next activity "Revise notification of absence", the relevant method is executed for them immediately.

The runtime system behaving in this way means that a work item is no longer offered to all recipients for processing, because the first agent in such a chain of work items automatically becomes the actual agent of subsequent work items.

Starting workflows

If the indicator is set for the first step of a workflow, and the workflow is started in dialog, the workflow system checks whether the workflow initiator is also a recipient of the first work item If this is the case, work item execution is started immediately.

Note

Since advancing with immediate dialog can only be activated or deactivated for workflows, work items for single-step tasks are always started with immediate dialog.

For more information, see Starting Tasks and Workflows.

Technical details

At runtime, after completion of a step, (= work item has status completed), the workflow system checks the following properties of the subsequent work item:

If the answer to all these questions is yes, the workflow system automatically starts execution of the work item.

Note

If more than one work item exists that can be executed by the actual agent, (for example at the start of a fork), execution is not started for any work item.

The check described above is carried out with the subsequent step if it has one of the following types:

Activities

You activate or deactivate advance with immediate dialog in the basic data of a workflow definition. If you change the setting in the basic data, the change is valid for all steps of the workflow. The first time the Workflow Builder is called, advance with immediate dialog is always activated.

If advance with immediate dialog is activated in the basic data, you can also activate or deactivate the indicator for each individual step. This setting then refers only to advancing from the preceding step to this step.

Note

If you have deactivated advance with immediate dialog for the workflow in the basic data, you cannot activate it at the step level.

Leaving content frame