Get Recipient from a folder by Dynamic IDs

Avatar

Avatar

maurizio_coro

Avatar

maurizio_coro

maurizio_coro

02-08-2018

Hi, I'm trying to get a recipient list in a WF. The recipients are stored in a folder and I get the Folder ID from an external signal.

I've build a very simple WF, but it seems to be not working:

1540585_pastedImage_0.png

Folder ID has been set as Filtering Condition:

1540589_pastedImage_1.png

JS code set the instance.var.folderID and in the query advanced tab I set:

activity.where[0].condition[0].expr = "[@folder-id] = " + instance.vars.folderID

what am I doing wrong?

thanks

Replies

Avatar

Avatar

Vapsy

Employee

Avatar

Vapsy

Employee

Vapsy
Employee

02-08-2018

It works for me. 1540731_pastedImage_0.png

I think the code is right and there shouldn't eb any issue.

Avatar

Avatar

maurizio_coro

Avatar

maurizio_coro

maurizio_coro

03-08-2018

So, I'm wondering if I'm trying the wrong folder-id

is this one?

1540957_pastedImage_0.png