Sean Teehan Posted November 28, 2019 Posted November 28, 2019 Is there a way to display the Scheduled start and Scheduled Finished Date / time for a changeon an email template? Currently looking through the variables i can't see anything suitable to insert. Thanks, Sean
Sean Teehan Posted November 28, 2019 Author Posted November 28, 2019 i have tried adding the below but no luck Start: {{.h_start_time}} Finish:{{.H_end_time}}
Steven Boardman Posted November 28, 2019 Posted November 28, 2019 @Sean Teehan it seems to work for me When you create your email template are you creating it under the ChangeRequest entity? You should then see the variables for the change in the list In your bpm node you will also need to set the relevant entity email template Let us know how you get on
Sean Teehan Posted November 28, 2019 Author Posted November 28, 2019 thanks @Steven Boardman, I seem to be getting an error message now. Would this fail if trying to send to an external email address?
Steven Boardman Posted November 28, 2019 Posted November 28, 2019 HI @Sean Teehan it shouldn't be related to the external email address, i've just tested this on my instance with an external email address and it seems ok. Could you look in the log to see more info on the specific error, and post it here?
Sean Teehan Posted December 17, 2019 Author Posted December 17, 2019 Hi @Steven Boardman, I managed to remove the error. I added the template to the Change request an it now pulls in the start time and End time. It has stopped pulling in the summary and description, i assume these are Service request variables? Is there a way to pull them in, i have had a look at the entity viewer on changerequest and i don't see a summary. there is h_disruption_level (Disruption Level) but that doesn't sound like the same thing. thanks, Sean
Steven Boardman Posted December 17, 2019 Posted December 17, 2019 @Sean Teehan When you create the Change Request email template, are you using the variable picker to inject the summary and description variables as below? The changerequest entity will not have the request entity values via the entity viewer, but they are related entities so the variables are visible in the email template variable picker. If you notice in the screenshot below, because you are using the changerequest entity the variable for summary is different i.e {{Requests.H_summary}} - but if you use the variable picker to insert them then you don't need to know or worry about the correct syntax for each Hope that helps
Sean Teehan Posted December 19, 2019 Author Posted December 19, 2019 @Steven Boardman perfect, thanks Steve. When i saw these i thought they were the same as the "Request" Requests
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now