Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi everyone,
I really need your help. I would like to change the primaryBusinessObject within a workflow. The problem is that I want to create multiple objects (documents, CAD-parts ...) within this workflow and I would like to change these objects by using the method robot (e.g. lifecycle state). Unfortunately, I wasn't able to pass the created object on to the method robot.
The easiest way might be to declare the created object temporarily as primaryBusinessObject and then change the object with the method robot.
Does anybody know if that works and how to declare the created object as primaryBusinessObject?
Thank you for your help.
Willi
Solved! Go to Solution.
HI Willi,
Instead of creating a local variable (inside one activity or method robot) , Create a global variable then you can access that variable throughout the whole workflow.
Thanks & Regards,
Kaushik
HI Willi,
Instead of creating a local variable (inside one activity or method robot) , Create a global variable then you can access that variable throughout the whole workflow.
Thanks & Regards,
Kaushik
Hi kaushik das,
thanks for the help. That worked for me.
Best Regards,
Willi