Fusio

API / processor.execute

Executes another defined action and returns the response body

Arguments
Name Type Description
action string Name or id of the action
body object Optional the request body object
uriFragments object Optional an object with uri fragments
parameters object Optional an object with request parameters
method string Optional the used request method
Return
Type Description
object The response of the action
Example
// execute another action and set the response
var response = processor.execute("Action-1");

response.setBody(response);