Adding Enumeration value to microflow expression

7
In a microflow, which I start with an exclusive split based on an enumeration value, I would like to send a text message to the user. This message should contain the particular enumeration value. I tried to add an enumeration value as a template parameter to the 'Send Text Message' and the following error occured: The microflow expression is of type Enumeration CRM.AccountStatus but should be of type String. Furthermore, I couldn't convert the enumeration value into a string. How can I show the caption of an enumeration value in a text message?
asked
1 answers
8

You have to use the toString function. Your microflow expression is then:
toString(CRM.AccountStatus)

Note: This will give the name value of the enumeration. Currently it's not possible to retrieve the caption.

answered