workItemNotificationTemplate argument

Hi Team,

How to pass the workItemNotificationTemplate arguments to the email template.
Need to password IdentityDisplay in the subject line. Please help.
image

Regards,
Ravi.

Hi @kolipakularaviturnkey,

To pass the password and identityDisplayName to the email template, first define the password and identityDisplayName variables in the workflow. Then, pass these arguments to the workflow step. You can use these variables within the email.

Define the variable in workflow

  <Variable input="true" name="identityName">
    <Description>The name of the identity.</Description>
  </Variable>
<Variable input="true" name="password">
    <Description>The name of the identity.</Description>
<Script>
<Source>
//logic to get the password
</Script>
</Source>
  </Variable>

Pass Argument to workflow step

      <Arg name="identityName" value="ref:identityName"/>
      <Arg name="password" value="ref:password"/>
      <Arg name="workItemNotificationTemplate" value="Test Template"/>
     

Email Subject

<Subject> password is $password </Subject>
1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.