Get ID of newly created list (List Update activity) | Community
Skip to main content
d-wnuk
Level 2
December 29, 2020
Solved

Get ID of newly created list (List Update activity)

  • December 29, 2020
  • 1 reply
  • 1568 views

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.
Best answer by Jonathon_wodnicki

Hi,

 

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

 

Thanks,

-Jon

1 reply

Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
January 1, 2021

Hi,

 

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

 

Thanks,

-Jon

d-wnuk
d-wnukAuthor
Level 2
January 5, 2021

Thanks, Jon.

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