Accessing computed process variable in the WI

66 views
Skip to first unread message

gawler.a...@gmail.com

unread,
Nov 27, 2016, 7:17:05 PM11/27/16
to Fujitsu RunMyProcess Developer Community
Hi,
What is the way to access computed process variable in the WI?
I setup some my_var in the output parameter of the Activity with the value of:
<@script env="javascript">
setVariable("my_var","aaaaaaaaaaaaa");
</@script>

In the WI after the execution of the process I try to use inside the javascript
alert(RMPApplication.get("my_var"));
But this returns null....

Murali

unread,
Nov 27, 2016, 8:23:52 PM11/27/16
to Fujitsu RunMyProcess Developer Community, gawler.a...@gmail.com
Hi Gawler,

I assume that you have declared the variable "my_var" on the web-interface.

Once the mentioned script executed from a process step, it's value can be validated from the "Computed Parameters"
and the respective field is populated with the assigned value.

Please try these steps correctly and let us know if you require additional help for a quick screen-share session.

Regards,
Murali
Fujitsu RunMyProcess Support
setVariable from Process.PNG
Reply all
Reply to author
Forward
0 new messages