Path: / API / runtimeAPI / executeConnectorInActivityInstance / {activityInstanceUUID} / {useCurrentVariableValues}

Executes a Connector in the context of an activity . The ClassLoader uses the process UUID to load the connectors' class and the process and activity 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 step end are used
activityInstanceUUID - the activity instance UUID

Method Summary
ResourceDescription
POST /API/runtimeAPI/executeConnectorInActivityInstance/{activityInstanceUUID}/{useCurrentVariableValues}Executes a Connector in the context of an activity .

Method Detail
HTTP Example:
POST /API/runtimeAPI/executeConnectorInActivityInstance/{activityInstanceUUID}/{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 step end are used */,
  'activityInstanceUUID': /* activityInstanceUUID the activity 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 an activity . The ClassLoader uses the process UUID to load the connectors' class and the process and activity 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