How to add multiple check box values if True to a Task Short Description
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2022 07:12 AM
I have a MVRS that contains a label + multiple check boxes and another multiline text field.
I need to capture value of checkboxes if true into the Task short description. The user has the ability to select multiple checkboxes so the Task short description can for example read as Pre - Validation of (Value of checkbox or multiple checkboxes).
There are a total of 8 checkboxes in the Multi Row variable set.
I would rather not use a Record Producer. Am trying to script it as a part of the WF activity.
Would appreciate any help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2022 08:08 AM
@KS13 Please try below code in workflow "Run script" activity:
ServiceNow Community Rising Star, Class of 2023