Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
lqc1

Member
Registered:
Posts: 13
Reply with quote  #1 

I have a library with local variables on a form segment in a form.

I reference the library in a project.

From the project, I set the library form (with the local variables on the form segment) to an action.  I want to set the form segment's local variables on the when action starts.

Is this possible?  How is it done?

Thanks,

I am on Metastorm BPM 9.2

0
JoeOmerta

Veteran
Registered:
Posts: 210
Reply with quote  #2 
I just came across this yesterday actually.  I was unable to find a good way of doing this so i set a few variables in a business object instead.  I found out that setting a checkbox in a business object can't trigger a local variable though.

I'm not sure how flags work, but might want to try those?

Edit: nvm, that's not how flags work.  Maybe try some form of client script?
0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #3 
You cannot - you have to do it when the form loads. To be fair, the action is evaluated before the form is loaded, so it knows nothing of the form itself.
__________________
Post an example, and we will have a much better idea what the problem is. In about 90% of posts, the problem is one of communication. Examples bridge that gap.
0
lqc1

Member
Registered:
Posts: 13
Reply with quote  #4 
The only way I have found is to create a subprocess in the library, create variables in the subprocess, reference the subprocess process context data on the library form.

Then in the project, on the action start set the subprocess process context data variables.

Does anyone else have a better idea?
0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #5 
Good idea, but it does lose the benefit of local variables.
__________________
Post an example, and we will have a much better idea what the problem is. In about 90% of posts, the problem is one of communication. Examples bridge that gap.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!