Variable as a message (xml/json)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2016 05:22 AM
Hi,
I'm currently evaluating activiti and have built a simple REST+camel api to start a process and populate a few variables from the message.
What I would like to do is store the entire message in a variable and access parts of that in camel plus user(forms)/email tasks. Can I do that with expression language? Believe xpath isn't supported - is that still correct? [This is mainly for email tasks]
K
I'm currently evaluating activiti and have built a simple REST+camel api to start a process and populate a few variables from the message.
What I would like to do is store the entire message in a variable and access parts of that in camel plus user(forms)/email tasks. Can I do that with expression language? Believe xpath isn't supported - is that still correct? [This is mainly for email tasks]
K
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2016 08:16 AM
I'm using script tasks (language javascript) to parse json that is passed in from the REST API and saved in a variable.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2016 10:25 AM
Ah ha. I see, so I could include that within the bpmn xml and not have to rebuild the project.
thanks
thanks
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2016 04:42 AM
Json (a Jackson object) is a possible variable type in the latest version of the engine.
