Skip to main content
d-wnuk
Level 2
Dec 29, 2020 11:19 AM UTC
Solved

Get ID of newly created list (List Update activity)

Hi,

 

I'm looking for a way to get ID for a list created by using List Update activity. The workflow looks more or less like below:

I use option 'Create the list if necessary' with computed label because a new list will be generated every each workflow run. I tried to add Enrichment activity after List update with 'Add data linked to filtering dimension' but with no luck.

 

Thanks for any input.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Jonathon_wodnicki
Jonathon_wodnickiAccepted solution
Community Advisor
Jan 1, 2021 7:00 PM UTC

Hi,

 

Use vars.groupId in your js, or $long(vars/@groupId) if you're using an enrichment.

 

Thanks,

-Jon

2 replies

Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
Jan 1, 2021 7:00 PM UTC

Hi,

 

Use vars.groupId in your js, or $long(vars/@groupId) if you're using an enrichment.

 

Thanks,

-Jon

Translate
d-wnuk
d-wnukAuthor
Level 2
Jan 5, 2021 3:01 PM UTC

Thanks, Jon.

I noticed that it's possible to access groupId through xtk:workflow schema but it's a overkill.

Translate