I want to use “if” in a body email, the idea is to use like this “if $Requests/DocumentManagement.Request_Enumeration = Revisao then 'Revisão' else 'Criação'’but it keeps the error in the if. How can i do?
It looks like you’re confusing attribute name and enumeration name.
Try like this (and have the modeler autocomplete your expression):
if $Requests/AttributeNameHere = DocumentManagement.Request_Enumeration.Revisao then 'Revisão' else 'Criação'