Is it possible to skip mandatory fields in a business rule?

David P2
Kilo Explorer

Hi All,

I am looking to set up a business rule to update a checkbox field after the initial record has been inserted (essentially, an update right after the initial insert). I have some mandatory fields on the record that users are required to fill out before updating the record, but I'm not concerned with these fields being set in the business rule. Is there a way to disable the mandatory fields/skip them in the business rule?

I'm trying to determine a workaround for the Inbound Action SLA issue that ServiceNow is experiencing (https://hi.service-now.com/kb_view.do?sysparm_article=KB0744354) and was thinking if I can have the record updated immediately after insert that it would apply the SLA as expected. If there is a better way to handle this please let me know.

Thanks!

1 ACCEPTED SOLUTION

reginabautista
Kilo Sage

Hi, mandatory fields that are only being validated in the front end (client side) so they are being ignored if you are using Business Rule unless there are mandatory fields configured using Data policy. 

View solution in original post

7 REPLIES 7

Allen Andreas
Administrator
Administrator

Hello,

I'm not sure I fully follow what you're saying. You said that there mandatory fields in the initial record for the user to fill out. So if it's been submitted then they met the mandatory requirement? So your BR is just happening afterwards?

I'm not understanding the issue.

Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi Allen,

Thanks for the quick reply. I have a task record being created via an Inbound Action, but there is an issue in ServiceNow where the SLA is not being applied to records created via an Inbound Action. I want a field to be updated immediately after the initial insert of a record as a workaround for this issue. However, there are mandatory fields that a user must fill out when working the record. I want the update to the checkbox to happen immediately after the initial insert, but before any user has gone in and made updates.

Business rules will ignore mandatory fields, if thats what you're asking. Mandatory fields are only really enforced on the client side (and sometimes on the list view), unless there is some other code acting on specific fields.

Hi,

Yea, unfortunately, still confused as to the issue here. If you have a BR set up for "insert" on that specific table and then set that checkbox to true in the actions tab...that would work. So ...not sure the issue here.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!