Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards
GELÖST

using profile parameter in javascript node

Avatar

Level 10

I need to use in js node some parameter from profiles. These profiles were chosen during the segmentation node (for example Read List). How to do that?

Themen

Anhand von Themen werden Community-Inhalte kategorisiert und Sie können so relevanten Inhalt besser finden.

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Level 4

You can use the queryDef() function within your JS script to access things! 

https://www.martechnotes.com/master-querydef-in-adobe-campaign/

 

Where they talk about picking a schema, you can just designate that you're using the temporary table created within your workflow by using vars.targetSchema, eg: 

<queryDef schema={vars.targetSchema} operation="select">

 

You just need to find out the field names to populate your query, and then you have a huge XML object which you can iterate through to work with the recipient values.  

Lösung in ursprünglichem Beitrag anzeigen

1 Antwort

Avatar

Korrekte Antwort von
Level 4

You can use the queryDef() function within your JS script to access things! 

https://www.martechnotes.com/master-querydef-in-adobe-campaign/

 

Where they talk about picking a schema, you can just designate that you're using the temporary table created within your workflow by using vars.targetSchema, eg: 

<queryDef schema={vars.targetSchema} operation="select">

 

You just need to find out the field names to populate your query, and then you have a huge XML object which you can iterate through to work with the recipient values.