Unable to use variables in 'Assign Task' Workflow step email template | Community
Skip to main content
Level 4
November 29, 2023
Solved

Unable to use variables in 'Assign Task' Workflow step email template

  • November 29, 2023
  • 1 reply
  • 783 views

I have a form Workflow that maps some variables from a form submission, sends an email with a custom template that references some of those variables, then triggers an 'Assign Task' workflow step.  The 'Send Email' step works perfectly, it includes the data form the form submission in the template as expected (via something like ${variableName} in the template markup). However, if I do the same thing in the 'Assign Task' workflow step, the same variable does not work. It just gets printed in the email as plain text.  This is despite other default Workflow variables in the same email template working correctly (ex. ${workitem_title}).

 

Does the 'Assign Task' workflow step just not support variables in email templates, or am I doing something wrong?  See attached screenshot of template for example.  Thank you!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by workflowuser

yes custom component is required. not sure if you can pass process arguments. give it a try

1 reply

Adobe Employee
November 29, 2023
Level 4
November 29, 2023

Thank you so much!  So if I'm reading this right I have to deploy a custom component just to map variables from the built-in Map Variables step into the Assign Task workflow step?  That's a little crazy to me that you have to jump through so many hoops to do something that seems so simple. It looks like I'd have to create a component for each Workflow as well, it's not universal. 

workflowuserAdobe EmployeeAccepted solution
Adobe Employee
November 29, 2023

yes custom component is required. not sure if you can pass process arguments. give it a try