Access to widgets (text box and etc.) values in the server side before rendering

901 views
Skip to first unread message

dfer...@br.fujitsu.com

unread,
Sep 13, 2018, 2:17:18 PM9/13/18
to Fujitsu RunMyProcess Developer Community
Hi,

I would like to know how I can get widget data that will be showed to the user, which is in the Web Interface.

Reason:
I need to compare the values showed to the users before they change in the interface and after the submit.


I didn't find any freemaker function that I could retreive this kind of values.

Thank you.

Gunjan Rajgure

unread,
Sep 13, 2018, 5:13:03 PM9/13/18
to Fujitsu RunMyProcess Developer Community
Hi There,

To get widgets value by JavaScript in Web Interface you can use following code.
 RMPApplication.get("widget_variable_name");
You can assign this code to JavaScript variable.
eg. var a = RMPApplication.get("variable_name");
      alert(a);
For more understanding of how JS used in Web Interface, please go through some JavaScript examples as below...


If you are submitting Web Interface on process trigger, then all the widgets value are available in process instance by its variable name. Anyways, if you want to assign Web Interface widget value anywhere in process then you can access WI widget value dynamically using ${wi_variable_name}
eg. If you have Text widget as "name" on Web Interface, then you can access it in process as ${name}. 

Note : You need to use value variable name of that widget.

There are some Freemarker examples which may help you.


Please do feel free to contact us for any other query you have.


Thanks & Regards,
Gunjan Rajgure
Fujitsu RunMyProcess Support

--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/54bc78eb-62fa-49dd-aac3-b3a74030f582%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.


--
Thanks & Regards
Gunjan Rajgure
Fujitsu - RunMyProcess Support

Gunjan Rajgure

unread,
Sep 17, 2018, 3:47:51 AM9/17/18
to Fujitsu RunMyProcess Developer Community, dfer...@br.fujitsu.com
Hello,

Could you please confirm that issue has been clarified?
Awaiting for your response.

Please do feel free to contact us for any other query you should have.


Thanks & Regards,
Gunjan Rajgure 
Fujitsu RunMyProcess Support

gunjan.rajgure

unread,
Sep 26, 2018, 1:57:34 PM9/26/18
to Fujitsu RunMyProcess Developer Community, dfer...@br.fujitsu.com
Hi There,

Could you please confirm that issue has been clarified?
Awaiting for your response.

Please do feel free to contact us for any other query you should have.


Thanks & Regards,
Gunjan Rajgure 
Fujitsu RunMyProcess Support

On Monday, September 17, 2018 at 1:17:51 PM UTC+5:30, gunjan.rajgure wrote:
Hello,

Could you please confirm that issue has been clarified?
Awaiting for your response.

Please do feel free to contact us for any other query you should have.


Thanks & Regards,
Gunjan Rajgure 
Fujitsu RunMyProcess Support


To unsubscribe from this group and stop receiving emails from it, send an email to supportforum+unsubscribe@runmyprocess.com.


--
Thanks & Regards
Gunjan Rajgure
Fujitsu - RunMyProcess Support

Gunjan Rajgure

unread,
Oct 4, 2018, 8:04:51 PM10/4/18
to Fujitsu RunMyProcess Developer Community, dfer...@br.fujitsu.com
Hi There,

Could you please confirm that issue has been resolved?
Awaiting for your response.

Please do not hesitate to contact us for any other query you should have.


Thanks & Regards,
Gunjan Rajgure 
Fujitsu RunMyProcess Support
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.


--
Thanks & Regards
Gunjan Rajgure
Fujitsu - RunMyProcess Support


--
Thanks & Regards
Gunjan Rajgure
Fujitsu - RunMyProcess Support

--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.

To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.

diego....@gmail.com

unread,
Oct 5, 2018, 7:11:51 AM10/5/18
to Fujitsu RunMyProcess Developer Community, dfer...@br.fujitsu.com
Hi,

It didn't help me, because I want to do this at server side.

Thank you
Reply all
Reply to author
Forward
0 new messages