Solved

How to Display Choice Field in Email

  • 20 September 2016
  • 4 replies
  • 176 views

Badge +4

The problem is that Choice Field Nintex Workflow email shows too much script to end user so how this can be corrected to look like nicer and like a normal email.

This how it looks now in email: 
{"__metadata":{"type":"Collection(Edm.String)"},"results":["iPhone","LG","Windows"]}
icon

Best answer by bamaeric 26 September 2016, 21:09

View original

4 replies

Userlevel 5
Badge +13

Hi Sari,

You can get the choices to display a better format by following these steps:

  1. Add the "Set Workflow Variable" action to you workflow and configure it with these options:
    1. Variable = Text variable you created
    2. Value = Configure with these options:
      1. Click "Advanced Lookup"
      2. Equals = List Lookup
      3. Source = Current item
      4. Field = Your choice field in the list
      5. Click the Fx button to the right of Field and select "Choices, Comma Delimited" from the dropdown.
      6. Click the Insert button.
  2. This will result something like iPhone,LG,Windows.
  3. You can clean this up with a Regular Expression to add spaces after the commas and store the result in your Workflow Variable.
  4. Add the Workflow Variable to you email and you should be good.

This worked! Awesome! thanks for the post.

Badge +4

Just tripped over this issue and found this solution.  Incredibly simple!  Thanks!

Thank you for sharing. Such a short and sweet fix.

Reply