Example #1
0
 protected internal virtual void applyOutputParameters(ActivityExecution execution, ConnectorResponse response)
 {
     if (ioMapping != null)
     {
         // create variable scope for output parameters
         ConnectorVariableScope connectorOutputVariableScope = new ConnectorVariableScope((AbstractVariableScope)execution);
         // read parameters from response
         connectorOutputVariableScope.readFromResponse(response);
         // map variables to parent scope.
         ioMapping.executeOutputParameters(connectorOutputVariableScope);
     }
 }