Report Widget - Accessing Measures in Custom Columns

162 views
Skip to first unread message

ah...@qualitydistribution.com

unread,
Sep 11, 2018, 4:15:07 PM9/11/18
to Fujitsu RunMyProcess Developer Community
How do you access a measure from a custom column in a report widget? [[measureName]] doesn't seem to work. I get "undefined".

Example: In a process I have a measure called "Status".

I created a WI report that shows name and Status.
I created a WI to show the web report but instead of showing simply "Status", I also created a custom column that I want to show a picture based on "Status" (basically img tag).

So, how do I access "Status"? I've tried [[Status]], "[[Status]]", [[status]] as well as RMPApplication.get("Status"). None of these work. If I look at the config of the process, i can see the "Status" attribute listed in the XML (base64 encoded).

Thank you,

Aeon

Pankaj Kumar

unread,
Sep 12, 2018, 10:44:20 AM9/12/18
to Fujitsu RunMyProcess Developer Community
Hi Aeon,

You can not access the measure value of WI report in other column. First you need to check which property is holding it the measure value, ("Status" is header of the column in report), normally the naming convention of measures in WI report are "MEASURE_1", "MEASURE_2" ..so on. You can get the value of this referring bellow link:-


Please try "[[MEASURE_1]]" in other column, in column js.

Thank you,
Pankaj Kumar
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/9000ac2f-cbfd-4577-a407-a2cdd97fb98b%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
1.PNG

Aeon Hale

unread,
Sep 12, 2018, 1:27:28 PM9/12/18
to Fujitsu RunMyProcess Developer Community
Thank you  Pankaj !

You received this message because you are subscribed to a topic in the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/-1QFG9HoPS0/unsubscribe.
To unsubscribe from this group and all its topics, 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/.
Reply all
Reply to author
Forward
0 new messages