Specifying Input parameters
- Click the Input parameters tab.
All input parameters and variables are displayed.
- Select an input parameter for each listed parameter. The available options are:
- None
- No input parameter is sent.
- Input document Content
- Select this option only for parameters or variables with String or Binary data types.
- Input document Headers
-
Select this option only for parameters or variables with the String data type.
Input document headers are sent as name-value pairs in JSON format. See the format example.
Note: Custom document header names must begin withcustom_. Headers that do not follow this naming convention are ignored during script processing. - Value
-
When you select Value, specify the constant value in the Value column.
This option is not available for parameters or variables with the Binary data type.
Select at least one input parameter.
This example shows the format of message headers in JSON:
{ "documentName" : "<string>", "messageId" : "<string>", "fromLogicalId" : "<string>", "toLogicalId" : "<string>", "tenantId" : "<string>", "accountingEntity" : "<string>", "location" : "<string>", "documentId" : "<string>", "variationId" : <long>, "revisionId" : "<string>", "batchId" : "<string>", "batchSequence" : <long>, "batchSize" : <long>, "batchRevision" : <long>, "batchAbortIndicator" : <boolean[true, false]>, "instances" : <long>, "source" : "<string>", "custom_<anyUnqValue>": "<string>" }