How to access a Activity variable into another another Activity ?

1
0
-1

Hi all,

I am fresher in Bonita.

I have Following block :

Start----> Step1---> Exclusive Gateway-----> Step2 --->End

I want access step1's activity variable after gateway.

How to access it? Because we have local vaiable scope till gateway only.

I don't want to use process varible in this scenario.

Thank you in advanced

Best Regards,
Amol

1 answer

1
+1
-1

Either use a process variable or a BDM, there is NO OTHER WAY.

In fact you do not have the varable till gateway, it is already destroyed by then, it will be destroyed as part of exit from step1.

regards
Seán

PS: If this reply answers your question, please mark as resolved.

Comments

Submitted by Amol.Khandekar on Mon, 07/11/2016 - 07:17

Hi sean,

Thank you for your quick reply.

How to access local variable using BDM ?

Best Regards,
Amol

Submitted by Sean McP on Mon, 07/11/2016 - 08:42

You use out script connector to access local car and save to BDM. Then access BDM.

But!!!

This is NOT the way to so it. Just use a process variable. Quick and easy.

If you say you can't use a process variable can you tell us why? There is no reason at all why you can't.

Regards

Submitted by Amol.Khandekar on Mon, 07/11/2016 - 09:30

Thank you for you answer.

Because I want to know another way to access local variable after gateway. I have already used process variable to access local Variable.

Thank you for your valuable reply.

Best Regards,
Amol

Submitted by Amol.Khandekar on Tue, 07/12/2016 - 06:42

One Last Question related to this topic.

Can I use BDM object in community edition ?

Best Regards,
Amol

Submitted by Sean McP on Tue, 07/12/2016 - 08:23

Yes BDM is available in Community.

Don't forget to check the answer as Resolved. Big arrow next to the answer.

Regards
Sean

Notifications