Run time lanes error.

142 views
Skip to first unread message

Somjit Banerjee

unread,
Jan 22, 2016, 3:48:07 AM1/22/16
to Fujitsu RunMyProcess Developer Community
Hi Team,

I am using runt time lane now i am using the below code in the process start output variable

<#assign myarray = get_lane_users(113587,317005)>
<#assign my_list = []>
${myarray}
<#list myarray as x>
<#assign my_list = my_list + [x.id]>
</#list>
${my_list}
<#list my_list as userId>
${P_add_user_to_lane(312805,userId)}
</#list>

when i am launching the process it is thorwing the below error


2016-01-22T08:38:02+0000 - Task "Recomender Action" (id: 3[0] - status: ACTIVE): 2016-01-22T08:38:01+0000 - Event Start "Start" (id: 0 - status: ABORTED): Error while processing assign
Expected usage P_add_user_to_lane(laneId, userId)


Can you please tell me where i am wrong???

Regards,

Sweta Suman

unread,
Jan 22, 2016, 8:37:54 AM1/22/16
to suppor...@runmyprocess.com
Hi Somjit,

P_add_user_to_lane(laneId, userId) takes userId as a Integer/String value only and not an array.

As per your requirement you have to take a loop activity in main process and iterate it based on user_list(myarray). Create a subprocess which will add users one by one on each iteration to runtime lane.

Hope this helps you.


--
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/0a42e362-a0f9-4367-b2c6-1d6e94cb8d5b%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.



--
Thanks,
Sweta 
Fujitsu RunMyProcess

Somjit Banerjee

unread,
Jan 26, 2016, 1:12:36 AM1/26/16
to Fujitsu RunMyProcess Developer Community, somjit-ban...@lafargeholcim.com
Hi Sweta ,

Thanks for the suggesstion.

Regards,
Somjit

Reply all
Reply to author
Forward
0 new messages