I have created a custom plugin in Moveworks for the ServiceNow Problem table. In this plugin, I am fetching details such as the Problem Record Number, State, and Priority from ServiceNow.
However, I am facing an issue with choice fields like State and Priority. Instead of receiving the display label (for example, “Closed”), Moveworks is returning the backend value (for example, 7 for Closed).
Example:
- In ServiceNow:
- State = Closed
- Backend value = 7
- In Moveworks response:
- State = 7 (instead of “Closed”)
Expected Behavior:
I want Moveworks Assistant to display the user-friendly label (e.g., “Closed”) instead of the numeric backend value for choice fields.