Run Multiple Steps

This handler (com.rierino.handler.CompositeEventHandler) provides ability to execute sequential actions using different event handlers at once.

Handler Parameters

This handler requires no parameters.

Actions

RunSteps

Runs multiple steps sequentially and passes each one's result to the next. Event metadata fields applicable for this action are as follows:

Field
Definition
Example
Default

domain

Name of the system to make REST call to (url and auth parameters of this system are used)

erp

-

inputElement

Json path for the input in request event payload

parameters

-

outputElement

Json path for the output in response event payload

product

-

With event metadata parameters as:

Parameter
Definition
Example
Default

common.[field]

Event metadata fields applicable for all steps

inputElement=parameters

-

step_[step]_action

Name of the action to run for step [step]

GetQuery

-

step_[step].[field]

Event metadata field applicable for step [step]

{id:parameters.productid}

-

Example

Input

{
    "parameters": {
        "language": "enUS"
    },
    "facets":{
        "brands": ["brand-1"],
        "categories": ["cat-1"]
    }

}

Event Metadata

Common event metadata fields are used as default and merged with step specific metadata fields such as inputElement, handler or parameters.

Last updated