This collection displays the scenario configurations and receives the number of items for each scenario that was defined.
For example, you can call the scenario collection for a specific consumer type (mobile). http://<host_name>:<port>/sap/opu/odata/IWPGW/TASKPROCESSING;mo;v=<version>/ConsumerScenarioCollection?$filter=ConsumerType eq 'MOBILE'
Attribute |
Key |
Comment |
Filterable |
---|---|---|---|
SAP_Origin |
X |
Source system. |
|
ConsumerType |
X |
Consumer type can be: DESKTOP, MOBILE,TABLET (defined in table /IWPGW/I_TGW_CON). |
X |
UniqueName |
X |
Scenario unique name as it was created in the configurations. |
|
DisplayName |
Scenario display name as it was created in the configurations (language dependent). |
||
TotalItems |
The total number of items in the user’s inbox for the Task ID defined for the specific SAP_Origin. |
||
OrderNumber |
Scenario display order. |
||
SortBy |
The default parameter for sorting (for example, sort by priority). |
||
IsMassApprovalEnabled |
Support of mass approval for the scenario. |
||
mime_type |
Content type. |
||
ScenarioServiceURL |
Relative base URL filtered by task type. (If a URL is not provided, the TaskProcessing service will be used.) |
To configure the new scenario, you must follow the procedure described in the Task Gateway Scenarios section.