Hello,
I have 2 workspaces that work in tandem. I would like that when I execute the transition 'Submit' in Workspace A:
1) A record is created in WS B
2) A Bi-Directional relationship is created between the Item in WS A and the Item in WS B
Is this possible? Any keys on how to implement?
Thanks!
Solved! Go to Solution.
Solved by tony.mandatori. Go to Solution.
Here is a piece of a script that I wrote for another customer:
drawing = change.workflowItems[i].item; println("Drawing is: " + drawing); pdf = change.workflowItems[i].item.PDF; if (pdf===null) { //do nothing println("nothing to do"); } else { emnoc.relationships.addRelated(pdf, "Cross-Reference", "Uni-Directional", "Description"); }
emnoc was the object that i added the relationship to. In this case it was directional.