cancel
Showing results for 
Search instead for 
Did you mean: 

Variable as a message (xml/json)

uk_fhir
Champ in-the-making
Champ in-the-making
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
3 REPLIES 3

maudrid
Champ on-the-rise
Champ on-the-rise
I'm using script tasks (language javascript) to parse json that is passed in from the REST API and saved in a variable.

uk_fhir
Champ in-the-making
Champ in-the-making
Ah ha. I see, so I could include that within the bpmn xml and not have to rebuild the project.

thanks

jbarrez
Star Contributor
Star Contributor
Json (a Jackson object) is a possible variable type in the latest version of the engine.