cancel
Showing results for 
Search instead for 
Did you mean: 

XML variables

peterwanschou
Champ in-the-making
Champ in-the-making
Hi all,

I need to use XML variables while execution. With a Java Delegate i add a variabel to the execution (it can be any object). In my case it is now a class with four Strings (name, namespace (referencing namespace), type (XSD information), value (XML value as string)).

I know it is not the correct solution but how i can store XML variables to the execution and use them for decision (XOR-GATEWAY). Must there exists a pojo? How it works with activiti?

Example:
XML-variable (value)
<car>
<color>blue</color>
</car>

In the expression i want to use car.color = blue

Best regards,
Peter
2 REPLIES 2

peterwanschou
Champ in-the-making
Champ in-the-making
anyone here to help me? it is very important

Best regards,
Peter

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Peter,

Keep in mind that this is a user (peers) forum, so it can sometimes take some time to get an answer.

Currently you do need java objects and xpath as an expression is not supported yet either (unfortunately)

Sorry