Notifications

37 views

Description

RunTime value for a choice type Field is displaying Label instead of a Value.

Steps to Reproduce

1. Add a new choice field to incident table with two options (Upper left of screenshot):
First label= Y-Label and Value= Y-Value
Second label= N-Label and Value = N-Value
2. Add a new choice filed to incident task table with same options
First label= Y-Label and Value= Y-Value
Second label= N-Label and Value = N-Value

3. Create a flow that is triggered on [Incident] Created or Updated (Lower left of screenshot)
4. Add a 'Create Task' step that will create an incident task and will set the field values of the choice of the incident task to the value of the trigger task's choice field (direct mapping).
5. Create an incident with the choice set to 'Y-Value'.
6. Execute the flow and look at the OpsView - the runtime value should not be the label of the choice, but the value. (Lower right of screenshot)

Workaround

Create an inline script:

return fd_data.trigger.current.getValue("my_choice");

This will return the value rather than the label for the choice list field named my_choice.


Related Problem: PRB1329973

Seen In

London
SR - ITOM - Discovery and Service Mapping - v1.0.35

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-02-20 10:05:44
Published:2020-02-12