Rules engine / Execute Rules
Execute rules of the rules engine.
Json
Example
json
{
"name": "rules-engine-execute-rules",
"taskReferenceName": "execute_mapping_rules",
"description": "The business description of the task",
"type": "SUB_WORKFLOW",
"optional": false,
"inputParameters": {
"mode": "ALL",
"tableKey": "PRODUCTS",
"accountKey": "",
"partitions": [
"active"
]
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
json
{
"name": "rules-engine-execute-rules",
"taskReferenceName": "execute_mapping_rules",
"description": "The business description of the task",
"type": "SUB_WORKFLOW",
"optional": false,
"inputParameters": {
"mode": "USER_SELECTION",
}
}
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
json
{
"name": "rules-engine-execute-rules",
"taskReferenceName": "execute_mapping_rules",
"description": "The business description of the task",
"type": "SUB_WORKFLOW",
"optional": false,
"inputParameters": {
"mode": "REQUEST",
"request": "${previousTask.output.file}"
}
}
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
Definition
Property | Type | Required | Description |
---|---|---|---|
The name (or type) of the task | |||
The unique name of the task in your job. It is used to reference this task in the workflow. | |||
The functional description of this task in your job. | |||
The type of the task. It must be SUB_WORKFLOW . | |||
true : the job continues if there is an error on this task. false : the job fails. | |||
Input parameters of the task. See below |
|
Inputs
Property | Type | Required | Description |
---|---|---|---|
USER_SELECTION | ALL | REQUEST , See below. | |||
The target table key. | |||
The account key of the partner owning the shared table. | |||
To limit the execution to some specific partitions. | |||
An XML file in import items task format. |
Best practice
Limit the execution to only active items.
Outputs
Property | Type | Description |
---|---|---|
Items in the same format as the export items task. | ||
YES : at least one warning. NO : no warnings. | ||
YES : at least one error. NO : no errors. | ||
An XML file containing the log of each warnings/errors. |
Limits and additional notes
Element | Limit |
---|---|
Fields with rules | 5 000 |
Rules by field | 1 000 |
Source tables | 5 |
Rules by table | 20 000 |