Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!

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