Show TOC

Decision OptionsLocate this document in the navigation structure

This GET action retrieves metadata of a task instance. The return data contains the possible outcomes of a specific task instance.

The information is retrieved from the customization table (editable via Start of the navigation path SPRO Next navigation step SAP NetWeaver Next navigation step SAP Gateway Service Enablement Next navigation step Content Next navigation step Workflow Settings Next navigation step Maintain Task Names and Decision Options End of the navigation path). If the customization table is not maintained, the existing data is retrieved from the provider engine.

  • Input parameters:

Name

Example

Description

SAP__Origin

ERP_800

Required when using multiple origin; indicates where the task originated from.

InstanceID

000001129172

Task instance ID.

  • Output parameters:

    The data returned displays the following information for one or more results:

Name

Example

Description

InstanceID

000001129172

Task instance ID.

DecisionKey

0001

Decision key.

DecisionText

Approve

Decision text.

CommentMandatory

true

Hint for the client application to provide a comment for this decision option.

Nature

POSITIVE

Hint for the client application of the Nature of a decision (can be marked as the V icon for positive and X for negative).

Detailed information of this function import can be retrieved via the service metadata at the following location:http://<host>:<port>/sap/opu/odata/IWPGW/TASKPROCESSING;mo;v=<version>/$metadata