PipeExecutorValve

Valve for executing a pipe.

If no items exist in the Current Item Set (CIS), the valve will execute the configured pipe and populate the CIS with the response items.

If items exist in CIS the valve will execute the pipe for each item surviving the item include expression (if any), adding the configured attributes of the Current Item as input parameters to the pipe. The id of the current item is always included as parameter ‘source_item_id’. The response items will be added to the CIS. If the item already exists it will be updated, otherwise a new item will be created.

Properties

Name Description Default value Mandatory Supports property expansion
pipe_id The id of the pipe to call. Yes No
enable_multi_value Enable support for multi value. If not enabled and multi value, only first value will be used. false No No

Example Configuration

{      
  "name": "PipeExecutorValve",
  "enabled": "true",
  "config": {
    "pipe_id": "createUser"
    "enable_multi_value": "false",
    "item_include_expr": "true"
  }
}

Requirements