Skip to main content
Nintex Community Menu Bar
Answer

How to Display Choice Field in Email

  • September 20, 2016
  • 4 replies
  • 244 views

Forum|alt.badge.img+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"]}

Best answer by bamaeric

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.

4 replies

bamaeric
Forum|alt.badge.img+14
  • Apprentice
  • Answer
  • September 26, 2016

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.

  • June 6, 2017

This worked! Awesome! thanks for the post.


mikeatnationwid
Forum|alt.badge.img+4

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


  • Novice
  • December 14, 2021

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