-
1. Re: Service Task: Assign data object parameter directly to task input variable
marcj Apr 1, 2014 10:29 AM (in response to marcj)Any thoughts on the issue? I continued trying several approaches, yet nothing works.
The only way to get around this is to duplicate all required fields of the data object as process variables and to map them to the object parameters via script tasks resp. "OnEntry"/"OnExit" scripts...
-
2. Re: Service Task: Assign data object parameter directly to task input variable
swiderski.maciej Apr 2, 2014 3:57 AM (in response to marcj)that looks like a perfect fit for transformation of data input and output that was added post 6.0.1 and is currently available in master. That allows you to use various script languages to transform incoming data to different formats. Either by using one of existing implementation that are based on javax.scripting or creating and registering your own. You might want to look at few examples we have in code base to see if that would fit your need.
- default scripting lang from java 6
Note: tooling support is still missing for it, so manual editing of bpmn2 is required.
HTH
-
3. Re: Service Task: Assign data object parameter directly to task input variable
marcj Apr 4, 2014 5:04 AM (in response to swiderski.maciej)Hello Maciej,
thanks for your reply.That looks like a valid approach. Do you already know it it'll be integrated in the next release?
-
4. Re: Service Task: Assign data object parameter directly to task input variable
swiderski.maciej Apr 4, 2014 1:38 PM (in response to marcj)yes, we plan to have it for 6.1
HTH