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

SOLVED

Get ID of newly created list (List Update activity)

Avatar

Level 2

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:

dominikw5224500_0-1609240125356.png

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

 

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

 

Thanks,

-Jon

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi,

 

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

 

Thanks,

-Jon

Avatar

Level 2

Thanks, Jon.

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