I am using a button to update a process, i have also set that button to redirect to a different webinterface
How can I pass a variable between the two?
In have tried the following but it didn't work.
In first webinterface
RMPApplication.set("assigned_to_name",myvar);
In second webinterface
RMPApplication.get("assigned_to_name");
However I get a null returned despite 'myvar' not being null
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" 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 http://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/c06bf40c-7b0c-4435-a750-70ff853e415f%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
I tried using the redirect URL https://live.runmyprocess.com/live/118261407486822867/appli/136129?P_mode=${P_mode}&P_version=${P_version}&assigned_to_name=line_manager
but when I rty to use that variable in the webinterface i get the error
com.google.gwt.core.client.JavaScriptException: (ReferenceError) : assigned_to_name is not defined
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" 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 http://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/537083b0-8d47-404c-8203-486b27e7fe13%40runmyprocess.com.
I hadn't sorry, I thought you meant that the variable became active simply by passing it on the URL
I have now added RMPApplication.get("assigned_to_name")
But now when i use it, it appears as the text "line_manager" rather than the value of the line_manager variable from the previous webinterface
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" 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 http://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/dbc8f098-c616-4f67-8a0f-ca73a9ce25f5%40runmyprocess.com.