Hi
I'm trying to send a confirmation email while they have submitted the form.
1. I have a custom schema to store all the form field data.
And here is the javascript activity to pass values from the ctx variable to the temp variable, and I am updating those values in the data schema.
2. After I have given a post event to trigger the workflow using the signal method
3.This is the workflow that I have created. In this javascript activity, I am not going to call any delivery; I am supposed to deliver in the campaign workflow.
Here is the java script code that I added in the workflow
but here I'm getting log as undefined, which means the cust id has no value but in the schema has value.
Can someone explain how I can send emails through custom schema and in the campaign workflow as well?
What would be the changes in recurring delivery?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @vani97 ,
Please change the variable in your 3rd Javascript from 'vars.custId' to 'vars.pCustID' and then the Value comes in the JS Logs.
Also, to send the emails using your Custom schema, once after data Insertion, Please use the query/Enrichment activity in your 3rd Workflow and use the Recurring delivery
PFA Sample WF Screenshot for 3rd point
Regards,
Pravallika.
Hello @vani97
Add an reconciliation/enrichment activity in the workflow mentioned in point #3 and then link it with recipient table on the basis of custId.
That will fix the issue.
Views
Replies
Total Likes
Hi @vani97 ,
Please change the variable in your 3rd Javascript from 'vars.custId' to 'vars.pCustID' and then the Value comes in the JS Logs.
Also, to send the emails using your Custom schema, once after data Insertion, Please use the query/Enrichment activity in your 3rd Workflow and use the Recurring delivery
PFA Sample WF Screenshot for 3rd point
Regards,
Pravallika.
Hi @vani97,
Were you able to resolve this query with the help of the given solutions or do you still need more help here? Do let us know. In case the given solutions were helpful, then kindly choose the one that helped you the most as the 'Correct Reply'.
Thanks!
Views
Replies
Total Likes
Views
Like
Replies