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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to get the current workflow id?

Maximiliano
Level 1
Level 1

Hi!

 

We are generating segments that have nothing to do with email/sms/push notif, and we want to save the current workflow ID to track the profiles, but we did not find a function that returns that value. Is there a way to get it?

 

We want a file that contains profileId and workflowId (to know where it came from).

 

Thanks in advance!

1 Accepted Solution
anasso83525035
Correct answer by
Level 3
Level 3

Hello Maximiliano,

 

You have two options:

 

You can add the ID of the workflow directly in your extract file activity as part of the output file title.

 

  • Open the extract file activity
  • Click on the pen Icon next to the output file field
  • Click on Insert personalization field
  • Choose the ID(name) field

Or You can add the workflow ID as additional data in your main query or enrichment using the expression: $(instance/@name) and add it as an output column in your extract file activity.

 

 

View solution in original post

2 Replies
anasso83525035
Correct answer by
Level 3
Level 3

Hello Maximiliano,

 

You have two options:

 

You can add the ID of the workflow directly in your extract file activity as part of the output file title.

 

  • Open the extract file activity
  • Click on the pen Icon next to the output file field
  • Click on Insert personalization field
  • Choose the ID(name) field

Or You can add the workflow ID as additional data in your main query or enrichment using the expression: $(instance/@name) and add it as an output column in your extract file activity.

 

 

View solution in original post

Maximiliano
Level 1
Level 1

Thank you so much!!!

 

Where did you find that?, is there a list of these instance variables?

 

Abrazos!

Maxi