Issue Overriding Priority for Incidents Created via External Integration (External Application)

PraffulNikam
Tera Contributor

Hi Community,

I'm currently facing an issue with controlling the Priority field for incidents created in ServiceNow via an external application. Here's the scenario:

  • I have a working integration where incidents are created from external application using the standard REST API and an application registry (OAuth-based).
  • The incident payload includes values for impact, urgency.
  • Additionally, I’ve added a custom field u_source to indicate the origin (e.g., "u_source": "application_name").

I attempted to use a Business Rule to override the priority based on custom logic (e.g., using u_source or short_description to detect <external_application_name>created incidents). However, despite the rule firing, the Priority Lookup Table (which maps impact and urgency) seems to override my custom priority assignment.

What I’ve tried:

  • Writing a before insert Business Rule on the Incident table.
  • Setting priority based on a custom field or logic within the rule.
  • Confirmed the rule is triggered (via logs), but the final priority still reflects the value derived from the lookup table.

I'm looking for guidance on:

  • How to ensure my custom priority value is respected for external application-created incidents without globally modifying the Priority Lookup Table.
  • Best practices for isolating such behavior only for a specific source (e.g., via u_source field or similar).

Any help, pointers, or suggestions would be greatly appreciated!

Thanks in advance.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@PraffulNikam 

check this KB, it tells priority lookup takes precedence over business rule so you will have to deactivate that

Why business rule is not seting the priority field as expected? 

also check discussion on below link

Business Rules Setting Priority of incident default to High if the user is from a group 

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

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@PraffulNikam 

check this KB, it tells priority lookup takes precedence over business rule so you will have to deactivate that

Why business rule is not seting the priority field as expected? 

also check discussion on below link

Business Rules Setting Priority of incident default to High if the user is from a group 

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

@PraffulNikam 

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