-
1. Re: WorkItem definition paramater and process variable mapping in Designer
kornilovs Jan 30, 2013 9:27 AM (in response to simholte)Try write #{msg} in colomn "To Value", if you want set String "msg" to you Service Task.
If you want Get parameters from service task add "results"
[
"name" : "GetConstant",
"parameters" : [
"ReqType" : new StringDataType(),
"Name" : new StringDataType()
],
"results" : [
"Result" : new UndefinedDataType()
],
"category" : "Const",
"displayName" : "GetConstantByName",
"icon" : "..."
],
-
2. Re: WorkItem definition paramater and process variable mapping in Designer
tsurdilovic Feb 3, 2013 10:43 AM (in response to simholte)In your exampel "Message" is a data input of your task and in your data input assignments you want to map an existing process variable or a data object to it, not the other way around; your data input assignment should be "msg is mapped to Message".
HTH
-
3. Re: WorkItem definition paramater and process variable mapping in Designer
simholte Feb 3, 2013 1:46 PM (in response to tsurdilovic)Well that just makes too much sense. I was reading it like a parameter assignment of a method since the WI parameter Data Inputs are prepopulated on the left hand side of the equation. But I need to think of it as a mapping interface and my WI parameters as variables that only have scope within that particular node.
Thanks for clearing this up and taking the time to answer my question.