Send Items
Allows your partners to send you items. It must be used with the Receive Items task in another job.
Json
Example
json
{
"name": "exchange-send-items",
"taskReferenceName": "send_items",
"description": "Send products",
"type": "SUB_WORKFLOW",
"optional": false,
"inputParameters": {
"request": "${export_items.output.file}",
"screens": [
"supplier"
],
"receiveJobKey": "receive-items-from-suppliers",
"accountKey": "7459mf39d-90g4-4789-b47b-dce5b7fnpea4"
}
}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 |
|---|---|
| request | An xml file with the same format as the Export Items task. |
| screens | An array of screen keys. If you have only one screen, just set on screen key in the array, if you have multiple screen shared, use a single select job input with the list of screens available. See examples. |
| receiveJobKey | The Job's key of the receive job. |
| accountKey | The account key is required when you share the job with your partners. You must set your account key, you can find it in Settings > Account > General. |
Outputs
This task does not have outputs.
Limits and additional notes
- Publish and receive up to 10 000 items at a time.
- Publish and receive items on up to 3 screens.