Problem creating multy-instance subprocess

601 views
Skip to first unread message

ami...@masanalytics.com

unread,
Sep 11, 2015, 10:42:58 AM9/11/15
to Fujitsu RunMyProcess Developer Community
Hi, im new in RMP and i trying to build a process that have a multy- instance subprocess.

I create a web interface in the father process that have a array widget with two columns (variable= array_1), i want my subprocess iterate for every "row" of my array.

In the subprocess activity, I set the loop optios, with the name of my variable (${array_1}) but im getting erros.

Need help please!

andre.fc....@gmail.com

unread,
Sep 11, 2015, 10:55:06 AM9/11/15
to Fujitsu RunMyProcess Developer Community, ami...@masanalytics.com

Hi,

You have to select a column of your array, like ${array_1.column_1}, so it can get the number of rows.

ami...@masanalytics.com

unread,
Sep 11, 2015, 11:01:06 AM9/11/15
to Fujitsu RunMyProcess Developer Community, ami...@masanalytics.com, andre.fc....@gmail.com
I still have the problem. I attached a sreenshot of the error
1.PNG

Bidisha Das

unread,
Sep 12, 2015, 3:55:10 PM9/12/15
to suppor...@runmyprocess.com
Hi,
You need to set the loop options in Parent process.Define your array along with column in Multi-instance loop as $(array_name.column_name} in parent process. Make sure you use the correct variable names which you have defined in Web Interface.

Use ${array_name.column_name[P_index]} in the sub-process so that it iterates till the loop ends.

Hope this helps.


Thanks & Regards
Bidisha

Augusto Miquel

unread,
Sep 14, 2015, 3:27:22 PM9/14/15
to suppor...@runmyprocess.com
Thanks, it works. Now im tryng to use the value in the suprocess, and i getting some errors. I have a text widget and I write ${proyecto_celda.proyecto[P_index]}, and i get an error 
"The variable (here P_result) you are parsing is a simple value instead of a hash (array of value)"

I cant fixe it, can u help me?

thanks.

--
Fujitsu - RunMyProcess
---
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/6tCVTVzG4J0/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/CAMGV9zu0-A1D%2BeC%2BU118Gyo%3DfdEmsyWRvZhuWmpb9YhqBp7f7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

Bidisha Das

unread,
Sep 16, 2015, 4:49:45 AM9/16/15
to suppor...@runmyprocess.com
Hi,
Don't use P_index in Loop condition.Assign this ${proyecto_celda.proyecto[P_index]} to a variable in input variables of your sub-process activity.Then use ${variable} in the Loop condition.


Thanks & Regards
Bidisha

ami...@masanalytics.com

unread,
Sep 16, 2015, 8:50:58 AM9/16/15
to Fujitsu RunMyProcess Developer Community
Thanks Bidisha it works!
Reply all
Reply to author
Forward
0 new messages