Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2020 03:33 PM
Hi, I am working on a UI action to create an incident from a demand. I am trying to bring over the state from the demand to the incident. However it is coming to the incident as the value instead of the label. Below are the different ways I have tried to get the label to display. It should say "Screening" instead of "3". Can someone tell me how to fix this?
grInc.description += '\nState1: ' + current['state'].getLabel();
grInc.description += '\nState2: ' + current.state.getLabel();
grInc.description += '\nState3: ' + current.getValue('state');
grInc.description += '\nState4: ' + current.getValue(current.state);
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2020 03:34 PM
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2020 03:34 PM
current.getDisplayValue('state');