AnsweredAssumed Answered

XML variables

Question asked by peterwanschou on May 5, 2011
Latest reply on May 6, 2011 by ronald.van.kuijk
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

Outcomes