How to set field value same as another field

raj149
Giga Guru

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.

 

5 REPLIES 5

Mark Roethof
Tera Patron
Tera Patron

Also out-of-the-box this on choices on incident state:

 

MarkRoethof_0-1689573878705.png

 

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

LinkedIn