Gets email template data

Use this step to fetch email template data.

Last published at: July 13th, 2023

getEmailTemplateData Step

Description:

Gets email template data.

Inputs

  • templateID– Select template to get data
  • varToStoreEmailTemplate– Variable/Global to store the email template data 
 

 

Returns

  • True – step executed successfully
  • False – step failed to execute 
 

 

Usage:

Example:

Let’s build and execute the “getEmailTemplateDataDef” example.          

  • Create a new definition called “getEmailTemplateDataDef”
  • Select the definition and click the “design” button
  • Drag a “getEmailTemplateData” step from the toolbox
  • Connect the dots between the start and “getEmailTemplateData” step 
  • Click on the "getEmailTemplateData" step to configure its "Settings" properties. Provide a name to the step. Select template from the drop down list to get data. Provide variable/global to store the email template data after execution. 
  • Select template from the drop down list to get data.
  • The “Logging” setting configuration is necessary for documentation and also measure the workflow progress and the percent complete. This is acheived by configuring the step state and percent fields individually as shown in the images below. Configure the “Logging” using the following properties.
  • Save the process definition, create a new process instance and execute. 
  • Render the process instance. Click on the process step. The step should get email template data.