Agnostic Guides
Solution Guide

Workflow Connect

3min

Workflow Connect (WFConnect) allows code free triggering of SAP Workflow including container fulfillment for "inbound to SAP" processing (ie: also called SAPLink).

There are three parts to the WFConnect configuration:

  1. Configure the Gimmal Link Enterprise Enterprise for the inbound SAPLink rule. Refer to the SAPLink section in this document for more information.
  2. Enable the "En.SL WF Connect" checkbox in the appropriate DocManager rule. Refer to the DocManager configuration for information
  3. Configure the WFConnect rule via transaction /dflow/sys and choose the menu path Configure->WF Connect.

There are two WFConnect rule elements to configure:

  1. Triggers: this determine what method of workflow trigger to execute based on an inbound SAP DocType and label.
  2. Metadata mapping (optional): if metadata is to be transferred to the corresponding workflow container, the inbound metadata must be mapped to container elements.

WFConnect Triggers

There are three workflow trigger methods available:

  1. Publish BOR Event: This publishes an event on the SAP workflow runtime system. This in turn can be set as your triggering event in your workflow task or definition.
    1. Specify the SAP business object and event to publish.
  2. Start Workflow: This starts your workflow directly calling the function "SAP_WAPI_CREATE_EVENT".
    1. Specify the workflow task or definition to start.
  3. Start Class/Method: This starts your workflow by called the class-method specified.

WFConnect Metadata Mapping

Regardless of the triggering method, if inbound metadata is to be passed to the workflow container or event, you must configure metadata mapping.

  1. Document Type: This is optional as you may configure mapping at the global level or only at the label level. If you choose to configure by Document type specify the ArchiveLink SAP ar_object.
  2. Label: This is optional as you may configure mapping at the global level or only at the document type level. If you choose to configure by Label, this is a free form text field that can be used to split up document type or categorize larger groups of metadata buckets.

A global rule is indicated with both an empty document type and empty label.