UI Designer - How to get the list of all actorMembers of a process

Hello,

I am working on an application page in UI Designer. The scope is to list all the actorMembers of all the actors declared in a selected process.

I have an API-type variable getting the actors of the process :

actorList : ../API/bpm/actor?p=0&c=10&f=process_id={{selectedProc.id}}

For one process, I can get 5 or more actors declared.

The API for getting the actorMembers has a mandatory filter field specifying the actor_id.

Example, for the actor_id 8055 :

memberList : ../API/bpm/actorMember?p=0&c=10&f=actor_id=8055

So, I can get my list for only one actor at a time !

How can I gest the memberList for ALL the actors given by actorList ?

Thank you in advance for your answer.

Regards,

Thierry

Hello,

this message to say, that while waiting for a real good solution, I implemented this not very elegant one, but that works :

Assuming each process is defined with up to 10 actors, I created 10 API variables :
member01 : ../API/bpm/actorMember?p=0&c=10&f=actor_id=actorList[0].id
member02 : ../API/bpm/actorMember?p=0&c=10&f=actor_id=actorList[1].id
...
member10 : ../API/bpm/actorMember?p=0&c=10&f=actor_id=actorList[9].id

an then another Javascript variable collecting all the 10 previous ones into one list !

As I said, not very elegant.

So if someone knows a better way to proceed...

Regards,

Thierry