This addressable collection contains consolidated values across task providers for certain fields. It is used to filter tasks according to different parameters.
The filter option enforces one value of status and priority property in the Task Collection for any Task façade provider. It also displays a list of possible Status and Priority values and the Display Name. The consumer application uses this list to filter the relevant data and the Display Name is used for translation.
To consume the optional filtering value for Status and Priority:
Open the Task Gateway service document.
Navigate to the Filter Option Collection. The different Status and Priority options are displayed. For example,
<d:SAP__Origin<ERP<d:SAP__Origin<ERP <d:Type>PRIORITY</d:Type> d:TechnicalName>HIGH</d:TechnicalName> <d:DisplayName>High</d:DisplayName>
or
<d:SAP__Origin>ERP</d:SAP__Origin> <d:Type>STATUS</d:Type> <d:TechnicalName>COMPLETED</d:TechnicalName> <d:DisplayName>Completed</d:DisplayName>
To add new entries for mapping Status and Priority from the task provider:
On the SAP Gateway system, open transaction SM30.
In the Table/View field, enter /IWPGW/I_TGW_FLM.
Choose Maintain.
Choose New Entries.
From the Proper Type drop-down list, select the type of field you want to map (Status or Priority).
In the Software Version field, enter the task façade provider (for BWF it is /IWPGW/BWF).
In the Provider source value for mapping field, enter the initial value you want to map. (For example, if the priority value from the source system is 4, enter 4).
In the Filter Type Technical Name field, press F4 and choose the value to which you want to map. This value will be used in the Task Collection as the technical name for the Priority type.
Priority property values for mapping from SAP Business Workflow to Task Gateway:
SAP Business Workflow |
Task Gateway |
1 |
VERY_HIGH |
2 |
VERY_HIGH |
3 |
HIGH |
4 |
HIGH |
5 |
MEDIUM |
6 |
LOW |
7 |
LOW |
8 |
LOW |
9 |
LOW |
Status property values for mapping from SAP Business Workflow to Task Gateway:
SAP Business Workflow |
Task Gateway |
CANCELLED |
CANCELLED |
CHECKED |
CHECKED |
COMMITTED |
EXECUTED |
COMPLETED |
COMPLETED |
ERROR |
ERROR |
EXCPCAUGHT |
EXCPCAUGHT |
EXCPHANDLER |
EXCPHANDLER |
READY |
READY |
SELECTED |
RESERVED |
STARTED |
IN_PROGRESS |
WAITING |
FOR_RESUBMISSION |
Priority property values for mapping from SAP Business Process Management to Task Gateway:
SAP Business Process Management |
Task Gateway |
HIGH |
HIGH |
LOW |
LOW |
MEDIUM |
MEDIUM |
VERY_HIGH |
VERY_HIGH |
Status property values for mapping from SAP Business Process Management to Task Gateway:
SAP Business Process Management |
Task Gateway |
COMPLETED |
COMPLETED |
IN_PROGRESS |
IN_PROGRESS |
READY |
READY |
RESERVED |
RESERVED |