I have a query regarding my understanding on a usage of relevant data items in ITIM workflows.
I'm modifying an operation workflow and I have defined a relevant data item (RDI) called "ownerContainer" of type String. I set the value of this RDI in the Start node of the workflow. Further on in the workflow in a script node, I attempt to test the value of the RDI and I have found via logging, that the value of the RDI is not available.
This is the code I use in my Start node to set the value of the RDI:
thisPerson = new Person(Entity.get().getProperty("owner"));
ownerContainer = thisPerson.getProperty("parent").name;
In my script node where I attempt to test the value of the RDI, I have logged the value of "ownerContainer" and the log entry reads:
<LogText><![CDATA[CTGIMO023E The following definition error occurred.
Error: CONTAINER NAME is com.ibm.itim.workflow.script.wrappers.RelevantDataItemWrapper contained object is:
So it appears that the RDI is not "available" in my script node.
I can get the workflow to run correctly if I repeat the two lines of code from my start node in the script node and set the value of "ownerContainer" again.. Is my understanding of this usage of RDIs all "screwed up"? Or am I missing something here?