Definition of Binding 

Use

At definition time you create binding definitions for the workflow. This involves specifying the assignment rules for how data is exchanged between two containers. At runtime these binding definitions are executed making workflow execution possible.

You can also allocate values to container elements using initial value assignment at definition time. These initial values are always overwritten by a binding .

Application

Within the transaction for creating an accounting document (object type AccountingDocument ), an event is generated (event created ), which indicates that a document has been successfully created. This event is to be the triggering event of a workflow.

Event

The event container is passed with this event. This container always contains an element _Evt_Object with a reference to the object created.

Workflow container

In the container of the workflow that is to be started by the event created of the object type AccountingDocument , you have created a mandatory import element (under the ID AccountingDocument for example) with a data type reference to the object type AccountingDocument . The element can therefore hold the reference to the object created (type AccountingDocument ) at runtime.

Binding to the workflow

The event parameter (= element in event container) _Evt_Object can be passed in a binding to the workflow container of the workflow that is to be started in response to the event. You define the following binding for this:

_Evt_Object (event container) AccountingDocument (workflow container)

Features

The graphic below illustrates which bindings can be defined.

Binding definition from task container

You define the bindings from the task container in the following two places.

In the definition of a task

There are binding definitions to the:

In the step definition in the Workflow Builder

The binding definition to the workflow container.

Binding definition from workflow container

You define the bindings from the workflow container within the Workflow Builder. There are binding definitions to the:

Binding definition from method container

You define the binding from the method container to the task container (for export parameters of the method with synchronous methods) during definition of a task.

Binding definition from event container

You define the bindings from the event container in the following three places.

The system makes proposals automatically for the binding definition between the workflow container and the task container. You can change these proposals. For further information, refer to Rule-Based Proposal for Binding Definitions .

Activities

You define the bindings in the binding editor, which is always called via a definition tool. This cannot be done separately.