We are currently experiencing intermittent login issues on Community.  The team is actively working on a fix.

Need to make assigned to as mandatory after Assignment group changes saved on the incident

Deepika61
Tera Contributor

Hi All,

 

Actually we have requirement that whenever if we change state to WIP and assignment group changes and save the incident form then assigned to make mandatory, while making changes to group , assigned to not mandatory after saved only it makes mandatory

 

Please give me suggestions on this

 

Thanks

Deepika

9 REPLIES 9

Hi @Ankur Bawiskar 

 

Actually i am trying to create onchange client script, whenever the field assignment group changes , but here my requirement was like assigned to not mandatory on field changes , its only mandatory after i saved the form with the group changes

 

Thanks

@Deepika61 

only when saved form means it has to be onLoad client script

But your requirement is when group changes

So it's conflicting requirement.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 

Actually this was requirement from the customer

  • When we update the Incident State to WIP, AND
  • When the Assignment Group value changes
  • The Assigned To field is not mandatory while being reassigned, BUT
  • Becomes Mandatory when saved

Please advice on this

Thanks

@Deepika61 

in the 1st line itself the requirement is when state changes so you can write onChange

Also you can have onLoad and see if state is WIP and if assigned to is empty then make assigned to mandatory

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Deepika61 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader