Update array widget's value from process task.

431 views
Skip to first unread message

travis....@teknion.com

unread,
Mar 20, 2017, 4:31:43 PM3/20/17
to Fujitsu RunMyProcess Developer Community
Hello RMP Team,

Is there a way to update the value of an array widget from a process task?

I have an array widget with 5 columns (Email, Name, Status, Type, Date) and I would like to update this array widget after a manual task has been completed. I am unable to update this array in the WI because the manual task might be completed using the "Validate a manual task" connector.

Any help would be appreciated.

Gunjan Rajgure

unread,
Mar 20, 2017, 6:19:05 PM3/20/17
to travis....@teknion.com, suppor...@runmyprocess.com
Hello Travis,

Good Day.

Thankyou for contacting Fujitsu Runmyprocess Support.

We will  update you soon.

Please don't hesitate to contact us for any other query.

Thanks & Regards,
Gunjan
Fujitsu-Runmyprocess Support

--

teknion.com <http://www.teknion.com>

<https://www.facebook.com/Teknion> <https://twitter.com/teknion>
<https://www.pinterest.com/teknion/>
<https://www.linkedin.com/company/teknion> <https://instagram.com/teknion/>
<https://www.youtube.com/Teknion>
<https://itunes.apple.com/us/app/teknion-eshow-chicago/id529619476?mt=8>

Confidentiality Notice: This communication, including any attachments, may
contain information that is confidential and privileged. [It may constitute
non-public information and is intended to be conveyed only to the
designated recipient(s).] If the reader or recipient of this communication
is not the intended recipient, or you believe that you have received this
communication in error, please notify us immediately by return e-mail and
promptly delete this e-mail including any attachments without reading or
saving them in any manner. Any other distribution, copying or disclosure is
prohibited and may be unlawful. We accept no responsibility for changes
made to this e-mail or to any attachments after transmission from our
office.

--
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+unsubscribe@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/3cbb805c-3aaa-4531-9920-9c8196a9eb1c%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

Ghanshyam Mule

unread,
Mar 21, 2017, 9:17:40 AM3/21/17
to suppor...@runmyprocess.com, travis....@teknion.com
Hi Travis,

Can you please clarify following details

1. Have you written any code which is updating the array fields?
2. When & how you are going to access  updated array fields?

Please don't hesitate to contact us.

Regards
Ghanshyam Mule


Pray Desai

unread,
Mar 21, 2017, 8:23:54 PM3/21/17
to Travis Vliegen, suppor...@runmyprocess.com
Hi Travis,

You can use our freemarker function ${transpose()} (http://docs.runmyprocess.com/API_Reference/FM/Utilities.html#transpose) to first convert array var (which is structured by columns) to rows structure, add your new row, then again convert back to columns structure.

For ex.:
You can create a process variable with same name as your array widget variable (arr_var in script below) and then write a script like this as its value:

<#assign arr_rows = transpose(arr_var)>
<#assign new_row>{"email":"x","name":"y","status":"z"}</#assign>
<#assign arr_rows = arr_rows + [new_row]>
${transpose(arr_rows)}

Regards,
Pray Desai,
Fujitsu RunMyProcess.

On Tue, Mar 21, 2017 at 6:17 AM, Ghanshyam Mule <gm...@runmyprocess.com> wrote:
Hi Travis,

Can you please clarify following details

1. Have you written any code which is updating the array fields?
2. When & how you are going to access  updated array fields?

Please don't hesitate to contact us.

Regards
Ghanshyam Mule

Gunjan Rajgure

unread,
Mar 26, 2017, 12:07:25 PM3/26/17
to Travis Vliegen, suppor...@runmyprocess.com
Hi Travis, 
Good Day. 

Could you please confirm that issue has been clarified. 
Please don't hesitate to contact us for any further query. 

Thanks & Regards, 
Gunjan Rajgure
Fujitsu-RunMyProcess Support. 

Reply all
Reply to author
Forward
0 new messages