cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Change primaryBusinessObject

MaBau
1-Visitor

Change primaryBusinessObject

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

ACCEPTED SOLUTION

Accepted Solutions
KD
12-Amethyst
12-Amethyst
(To:MaBau)

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

View solution in original post

2 REPLIES 2
KD
12-Amethyst
12-Amethyst
(To:MaBau)

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

MaBau
1-Visitor
(To:KD)

Hi kaushik das,

thanks for the help. That worked for me.

Best Regards,

Willi

Announcements


Top Tags