Path: / API / runtimeAPI / executeConnector / {processInstanceUUID} / {useCurrentVariableValues}

Executes a Connector in the context of a process instance. The ClassLoader uses the process UUID to load the connectors' class and the process data's values are added to the groovy evaluation context.

Path parameters:
useCurrentVariableValues - if true the current variable values should be used for expression evaluation, otherwise the values at process instantiation are used
processInstanceUUID - the process instance UUID

Method Summary
ResourceDescription
POST /API/runtimeAPI/executeConnector/{processInstanceUUID}/{useCurrentVariableValues}Executes a Connector in the context of a process instance.

Method Detail
HTTP Example:
POST /API/runtimeAPI/executeConnector/{processInstanceUUID}/{useCurrentVariableValues}

context=¶meters=&connectorClassName=&options=
API Example:

AbstractRemoteRuntimeAPI.executeConnector({'useCurrentVariableValues': /* useCurrentVariableValues if true the current variable values should be used for expression evaluation, otherwise the values at process instantiation are used */,
  'processInstanceUUID': /* processInstanceUUID the process instance UUID */,
  'context': /* context additional context for input parameters expressions evaluation */,
  'parameters': /* parameters the input parameters to set the connector */,
  'connectorClassName': /* connectorClassName the Connector class name */,
  'options': /* options the options map (domain, queyList, user) */});

Executes a Connector in the context of a process instance. The ClassLoader uses the process UUID to load the connectors' class and the process data's values are added to the groovy evaluation context.

Output:
java.util.Map<java.lang.String,java.lang.Object> - the result of the connector execution
Form parameters:
context - additional context for input parameters expressions evaluation
parameters - the input parameters to set the connector
connectorClassName - the Connector class name
options - the options map (domain, queyList, user)
Produces:
text/*
application/xml
Consumes:
application/x-www-form-urlencoded
application/xml