Execute Predefined Actions

This handler (com.rierino.handler.ActionEventHandler) provides ability to execute predefined reusable actions as saga steps.

Handler Parameters

Parameter
Definition
Example
Default

action.state

State manager that keeps action records

custom_action

action

Actions

TakeAction

Calls a predefined action using given parameters and event payload. Event metadata fields applicable for this action are as follows:

Field
Definition
Example
Default

inputElement

Json path for the input in request event payload

parameters

-

outputElement

Json path for the output in response event payload

result

-

With the following event metadata parameters:

Parameter
Definition
Example
Default

action

ID of the action to call

list_customers

-

inputPattern

JMESPath pattern to apply on data input

-

-

outputPattern

JMESPath pattern to apply on data output, before returning response

-

-

*

Any parameter to replace in action configuration mapping to %%param_*%% variables

domain=test

-

Last updated