How to use if in this case?

0
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?
asked
1 answers
0

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'

 

answered