Wednesday, 10 February 2016

How to access and change value in Environment Variable IBM BPM 8.5.5 OR Updating of Environment Variable through a script


 Team only takes environment variables as input. So we must create Environment variable.If you know the values before production,Deployment etc you can give values here:

Go to Process App Settings.Create a variable in key column.



If i have select box If i want to store the selected one in the environment variable you can give like these:

tw.env.update(tw.system.model.env.testEnv,tw.local.state.listSelected);

 

//updating env vars that are inside process app
tw.env.update(tw.system.model.env.MYVAR, "new_value_here");

//updating env vars that are inside toolkit
tw.env.update(tw.system.model.env.toolkit.MYTK.MYVAR, "new_value_here");
 

No comments:

Post a Comment