Skip to main content
1-Visitor
July 17, 2013
Solved

Change primaryBusinessObject

  • July 17, 2013
  • 1 reply
  • 1919 views

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

Best answer by KD_01

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

1 reply

KD_0112-AmethystAnswer
12-Amethyst
July 17, 2013

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

MaBau1-VisitorAuthor
1-Visitor
July 24, 2013

Hi kaushik das,

thanks for the help. That worked for me.

Best Regards,

Willi