Hi,
Can you please let me know how to use querydef inside a delivery activity?
I have tried but got an error has xtk not defined.
Thanks
Naveen
Solved! Go to Solution.
Views
Replies
Total Likes
You cannot. MTA cannot access the database and hence it gives you this error.
Work all data fetching tasks on the workflow itself.
Regards,
Vipul
Views
Replies
Total Likes
You cannot. MTA cannot access the database and hence it gives you this error.
Work all data fetching tasks on the workflow itself.
Regards,
Vipul
Views
Replies
Total Likes
Thanks for the reply,
Is there a way to create delivery variable through an javascript?
Thanks
Naveen
Views
Replies
Total Likes
Hi Naveen,
You can create a variable from delivery Properties >> Variable tab >> Add a variable , select the data type and choose if its a static or Expression. If its dynamic, you have to fetch the value via script and pass to the variable you have defined.
Regards,
Preetham
Views
Replies
Total Likes
Thanks for the reply Preetham,
We can create variables using javascript that too for only delivery templates using xtk.session.write method.
Regards
Naveen S
Views
Replies
Total Likes
Views
Likes
Replies