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

We are happy to announce the new Windchill Customization board! Learn more.

Change primaryBusinessObject

MaBau
1-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
KD
4-Participant
4-Participant
(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
4-Participant
4-Participant
(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-Newbie
(To:KD)

Hi kaushik das,

thanks for the help. That worked for me.

Best Regards,

Willi

Top Tags