Parallel multi-instantion. I can't put different actors for each instance

1
0
-1

I have a global variablre users_todo(which contains ids of user,type list). My siagram has two steps. Second step's iteration typa is Parallel multi-instantion. I want to create parallel process, where each has different actor. I don't know how it can be done?

Comments

Submitted by yannick.lombardi on Fri, 05/22/2015 - 09:09

Hi,

You need to user an actor filter in your sub-process to assign each instance to a user. In this actor filter, you need to use the user id that you use for the multi-instancation.

1 answer

1
+1
-1
This one is the BEST answer!

The way to do this is with a list of lists as follows:

List A is [userid of who you want to send it to, data package] : [123, "Data"]

List B is list of A : [[123, "Data"], [124, "Data"], [125, "Data"], [126, "Data"]]

Instantiate the multi-instantion by using List B as your input list, give a name to the iterator choosing List as the Iterator Type.

In the Instantiated process, just split the passed List A to the two variables and use the Actor filter as mentioned by Yannick.

Done,

I do this a lot...works extremely well.

regards

Notifications