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

Change primaryBusinessObject

SOLVED
Newbie

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Change primaryBusinessObject

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

2 REPLIES 2
Highlighted

Re: Change primaryBusinessObject

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

Re: Change primaryBusinessObject

Hi kaushik das,

thanks for the help. That worked for me.

Best Regards,

Willi