Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!

Sending Email Once after Form Submitting


Level 3


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?


Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies


Community Advisor

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.

     Find me on LinkedIn


Level 7

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