Email on Active to Delete

I am attempting to add an additional “if” statement to the Lifecycle Change Email Template. I need an email to be sent should a user ever change from active to delete. Can anybody see what is missing to resolve the error?

error

I think you forgot to put #end sign to close if statement at the end if yellow line

@kjakubiak

I had the #end missing from the previous screenshot. Is it possible to have multiple “#if” statements in this section?

Sure, you can do pretty much everything you can do in Velocity

See docs

Btw - you have multiple ifs already in part with servicenow there are chains of if-else statements.

With multiple if you must have mulitple #end for each if

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