Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Get Recipient from a folder by Dynamic IDs

Avatar

Level 3

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

2 Replies

Avatar

Employee Advisor

It works for me. 1540731_pastedImage_0.png

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

Avatar

Level 3

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

is this one?

1540957_pastedImage_0.png