Create a report to show Array information

275 views
Skip to first unread message

leoa...@gmail.com

unread,
Sep 24, 2018, 5:15:20 PM9/24/18
to Fujitsu RunMyProcess Developer Community
I have a web interface with a Array widget. I need to create a report (Web Interface report or Process report) to show the information entered by the user in the Array. How can a I do that? Measures I guess worked OK with simple Text/date/numeric fields but I can´t figure out how to do it with arrays.
Thanks in advance

Gunjan Rajgure

unread,
Sep 25, 2018, 12:42:14 PM9/25/18
to Fujitsu RunMyProcess Developer Community
Hi There,

To get array data on process report, you need to add measures in process. If you want all data from array column, then you get it  by adding measures as ${array_name.column_name}. OR  if you want specific row data in process report, then you get it by adding measures as ${array_name.column_name[index_of_row]}.
I am attaching some screen prints that will helps you to understand scenario.

Please do not hesitate to contact us for any other help you need.


Thanks & Regards,
Gunjan Rajgure
Fujitsu RunMyProcess Support

On Tue, Sep 25, 2018 at 2:45 AM <leoa...@gmail.com> wrote:
I have a web interface with a Array widget. I need to create a report (Web Interface report or Process report) to show the information entered by the user in the Array. How can a I do that? Measures I guess worked OK with simple Text/date/numeric fields but I can´t figure out how to do it with arrays.
Thanks in advance

--
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/2c5762a7-81b9-4ec8-b415-23b9e4f7e198%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.


--
Thanks & Regards
Gunjan Rajgure
Fujitsu - RunMyProcess Support
array_data.JPG
measure_1.JPG
process_report.JPG
measure_2.JPG

kari...@gmail.com

unread,
Sep 25, 2018, 6:59:42 PM9/25/18
to Fujitsu RunMyProcess Developer Community
Thanks Gunjan
To get the "array_name" should I use Variable attribute from my array or Identifier?

I need to put it in an Web Interface report, will it work anyway? or just work for process reports?

Last one, If I use "array_name.column_name" in a report (not specifing a row number) will I get many rows in my report for the same process instance?

Thanks

Shraddha Pangantiwar

unread,
Sep 26, 2018, 6:28:14 AM9/26/18
to Fujitsu RunMyProcess Developer Community, leoa...@gmail.com
Hi There

1. To get the "array_name" should I use Variable attribute from my array or Identifier? 
>   You have to use variable attribute of your array to get the 'array_name'. (see attachment- image1)

2. I need to put it in an Web Interface report, will it work anyway? or just work for process reports? 
>  Yes it will work for Web Interface report too.

3. Last one, If I use "array_name.column_name" in a report (not specifing a row number)  will I get many rows in my report for the same process instance? 
>  You will get all the instances in an JSON array format if you don't specify any row number to your measure.  (see attachment- image2)

Do feel free to contact us if you have any other queries.

Best regards,

Shraddha Pangantiwar

Fujitsu RunMyProcess Support


image1.jpg
image2.jpg

Gunjan Rajgure

unread,
Oct 1, 2018, 7:32:10 PM10/1/18
to Fujitsu RunMyProcess Developer Community, Leonardo Gonzalez
Hello,

Could you please confirm that issue has been fixed?
Awaiting your reply..

Please don't hesitate to contact us for any further 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/.

leoa...@gmail.com

unread,
Oct 2, 2018, 8:54:24 AM10/2/18
to Fujitsu RunMyProcess Developer Community, leoa...@gmail.com

I could retrieve the values now. Is there a way to show the array data as rows in a report instead of a JSON object? Do you have an std JS code to do that?

Thanks

Gunjan Rajgure

unread,
Oct 4, 2018, 7:40:58 PM10/4/18
to Fujitsu RunMyProcess Developer Community, Leonardo Gonzalez
Hi There,

You can use JavaScript Report to get some idea to sort out this problem. Below is the link for JavaScript report.


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


Thanks and Regards
Gunjan Rajgure
Fujitsu RunMyProcess Support

Gunjan Rajgure

unread,
Oct 9, 2018, 12:20:32 AM10/9/18
to suppor...@runmyprocess.com, Leonardo Gonzalez
Hi There,

Could you please give us feedback on this issue?
Awaiting for your response.

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


Thanks & Regards,
Gunjan Rajgure
Fujitsu RunMyProcess Support
Reply all
Reply to author
Forward
0 new messages