using profile parameter in javascript node | Community
Skip to main content
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 ALangridge

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.  

1 reply

ALangridge
ALangridgeAccepted solution
Level 4
September 1, 2024

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.