Receive Items
Allows to receive items from partners. It must be used with the Send Items task in another job.
Json
Example
json
{
"name": "exchange-receive-items",
"taskReferenceName": "receive_items",
"description": "Receive products",
"type": "SUB_WORKFLOW",
"optional": false,
"inputParameters": {
"new": "CREATE",
"exist": "SUGGEST",
"matching": {
"first": "EAN"
},
"handleDeletedValues" : true
}
}
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
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 | Description |
---|---|
new | Set CREATE |
exist | What must be done if the item already exist? SUGGEST: the values will be suggested and a user will have to accept it manually. UPDATE: data will be automatically updated and you will still be able to see the suggestion. |
matching | first property is required To find the corresponding item we must use an identifier. You can use the properties first , second , third , fourth , fifth . It can be read as "Try to match the first Identifier, if the first match is not found then try the second... |
handleDeletedValues | Either true or false Enables you to collect deleted field values from your partner so that you can see and accept fields deletion and update your items A field deletion is published when it is empty and there was a value in the last published suggestion |
Outputs
This task does not have outputs.
Limits and additional notes
- 3 screens.
- 10 000 items.
FAQ
Why not use the tasks Send Items and Receive Items in one Job?
When you share a Job your partner is able to see all the details of the Job execution, and you don't want your partner to be able to the see what you do with the data.