Reliability of the order in which the feed entry category values are returned in a web interface query response.

109 views
Skip to first unread message

somesh.m...@gmail.com

unread,
Nov 12, 2013, 10:43:47 AM11/12/13
to suppor...@runmyprocess.com, somesh. mukherjee, s.venka...@ieee.org
Hi,

I am willing to find out the reliability of the order in which the feed entry category values are returned in a web interface report query response.

Please refer to the screenshot I have attached to the post. We generally parse the response and look for the exact term (comparing the feed.entry.category[x].term value with the defined measure index), but from my experience the order always persists.

Hence, referring to the attached screenshot: if I am looking for the value for MEASURE_1, can I safely use ${feed.entry.category[4].label}, which would only work consistently if the order is never altered.

Please suggest.

Thanks!

rmp_webinterfacereportquery.png

Dimitri MELCHIOR Pro

unread,
Nov 13, 2013, 6:32:48 AM11/13/13
to RunMyProcess Support Forum, somesh. mukherjee, Sivakumar Venkatachalam
Hi Somesh,

Normally, if you do not change your process configuration, it will never change. Nevertheless, for maintenance reasons, you should not work this way. Let me give you an example of code I am used to working with :

<#assign request_status = "-">
<#assign request_number = "-">
<#assign requestor_name = "-">
<#list P_result.feed.entry.category as y>
<#switch y.@term>
<#case "MEASURE_1">
<#assign request_status = y.@label?default("-")>
<#break>
<#case "MEASURE_2">
<#assign request_number = y.@label?default("-")>
<#break>
<#case "MEASURE_3">
<#assign requestor_name = y.@label?default("-")>
<#break>
</#switch>
</#list>

Best regards.

--

Dimitri MELCHIOR

PreSales Consultant

     

Fujitsu RunMyProcess user? Please add a review on GoogleApps Marketplace

Afin de contribuer au respect de l'environnement, merci de n'imprimer ce message qu'en cas de nécessité.
Be environmentally friendly: do not print this email unless it is entirely necessary.



--
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/751c4d0f-c8c6-47c0-a35d-ad973d9d3105%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/groups/opt_out.

Somesh Mukherjee

unread,
Nov 13, 2013, 7:59:22 AM11/13/13
to suppor...@runmyprocess.com, somesh. mukherjee, Sivakumar Venkatachalam
Thanks Dimitri!
You received this message because you are subscribed to a topic in the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/7l12h3nsplI/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 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/CAED7vk3RRjPqPwboCPLH8%2B-%2BQz61V0H9iniKhzcONGajk_uqYA%40mail.gmail.com.


--

Somesh Mukherjee

http://greentechstreet.blogspot.com/
Reply all
Reply to author
Forward
0 new messages