How to set field value same as another field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2023 10:59 PM
Hello Experts,
In incident form there is 2 fields called status(state) and Incident state(incident_state).
My requirement is
If state is selected with example work in progress how to set same value in incident state field.
Tested with business rule (before insert and update)
Filter condition is status changes
Set field values is Incident state same as state.
But it is not working because choices backend values is different in Incident state field.
Status :
New (1)
Assigned(8)
Work in progress (6)
Pending(-5)
Resolved(7)
Cancelled(10)
Incident state:
New (1)
Assigned(4)
Work in progress (7)
Pending(-2)
Resolved(5)
Cancelled(-6)
How to achieve this by using business rule script.
Thanks in advance.
Best regards,
Raj.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2023 11:05 PM
Also out-of-the-box this on choices on incident state:
So the choices should be equal to state.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field