1) I noticed this in my logging as I was trying to debug a Workflow...
2011-12-22 16:12:51,021 INFO [STDOUT] (pool-13-thread-7) 2510168038
com.novell.soa.script.impl.lang.es.impl.EcmaScript Engine - Evaluating
the script : flowdata.get('Result/roleDN').length
So I made a flowdata.get() call, to get the Result/roleDN value from the
start document. In fact the data is there and traces out correctly.
2011-12-22 16:12:51,022 INFO [STDOUT] (pool-13-thread-7) DEBUG [RBPM]
Evaluating the script : wi.XPath("flow-data/Result/roleDN")
Notice that when using the wi.XPath function (I understand this is under
the covers, and not usually seen, nor my concern) that the node in the
XPATH is actually flow-data (flow dash data).
Interesting. I am just curious about the underlying reason.
2) Another question is, is there any way to visualize the flow data XML?
I would like to see the XML of the flowdata one day. I find XPATH
easier when I can see the XML.
3) My issue is that I am trying a Condition, to see if I have a value in
Result/roleDN to then write it back to an object with an Entity action.
But I want to validate I have a value. My condition expression is:
Which should be true if there is a value, right? And false if null.
Then I tried:
As I get 119 or 0. But it always evaluates to false.
I am sure this is something simple.