I have pulled 2 variables from the Description of the trigger issue. These variables can be added one at a time to the subject of the subtask that the automation is creating but I can not get both variables to work.
Trying to set the summary to:
{{NewHireName}} - Add to Click Armor - {{DueDate}}
The error is:
The summary is invalid because it contains newline characters. (summary) I've been very careful typing them in a million times.
I'm hoping its a quick fix, thank you so much for reading!
Hello @Carla Norman
Please show us the steps you are using to set those variables.
In the Description field is the text you are trying to extract at the end of a line of text, with additional lines of text following them?
Try adding the trim() function to remove white space at the start and end of the retrieved substring.
{{issue.Description.substringBetween("a","c").trim()}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
{{issue.description.substringBetween("Preferred Full Name: ","Personal").trim()}}
This worked!!
Thank you, brilliant community!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share some more information on your automation rule setup, especially on your local variable setup?
Please advise, so we can assist you further.
Best, Joseph Chung Yin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think the issue stems from where I'm grabbing the text for the variables.
Description of trigger issue:
Last Name: Durham
Preferred Full Name: Bill Durham
Personal Email Address:
There would be a new line character after the name that I need to remove?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.