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
Actions
TakeAction
Field
Definition
Example
Default
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"inputElement": {
"type": "string",
"definition": "Json path for the input in request event payload",
"example": "parameters",
"default": null
},
"outputElement": {
"type": "string",
"definition": "Json path for the output in response event payload",
"example": "result",
"default": null
}
}
}
}
}Parameter
Definition
Example
Default
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"parameters": {
"type": "object",
"properties": {
"action": {
"type": "string",
"definition": "ID of the action to call",
"example": "list_customers",
"default": null
},
"inputPattern": {
"type": "string",
"definition": "JMESPath pattern to apply on data input",
"example": null,
"default": null
},
"outputPattern": {
"type": "string",
"definition": "JMESPath pattern to apply on data output, before returning response",
"example": null,
"default": null
},
"*": {
"type": "string",
"definition": "Any parameter to replace in action configuration mapping to %%param_*%% variables",
"example": "domain=test",
"default": null
}
}
}
}
}
}
}Last updated
