Hi,
Will try to explain this one as best I can.
I have a workflow that triggers on the completion of a task. It calls a Custom workflow assembly that has 2 input parameter strings. In that cwa it checks if one of the strings has text and if it does it set the input parameters of an action and calls it. The action calls another cwa and is there so that the code under can be used from jscript as well as code. All it does is pass the parameters from 1st cwa as the input parameters to the 2nd cwa. The 2nd custom activity just receives a text string and will output whether the string is valid (boolean output) and if not an error string.(string output).
Now when I debug I can see that the 2nd CWA are being set correctly, however when I try and retrieve them from the action response there is nothing there. I have not used actions extensively so am I missing a step?
//Call an action here to validate first.
OrganizationRequest req = new OrganizationRequest("ukg_ValidatorAction");
req["ValidationRulesString"] = validationString;
req["Target"] = regardingRef;
//execute the request
OrganizationResponse response = service.Execute(req);
returnResult = (bool)response.Results["ValidationResult"];
validationErrors = (string)response.Results["ValidationErrors"];
*This post is locked for comments
I have the same question (0)