for integration post method which bussiness rule used in servicenow

ChetanaP
Tera Contributor

for the integration post method, which business rule is used in the servicenow async business rule or after business rule? why?

1 ACCEPTED SOLUTION

Abbas_5
Tera Sage
Tera Sage

Hello @ChetanaP,

 

For an integration POST method in ServiceNow, the After business rule or Async business rule is commonly used. The choice depends on whether you need real-time feedback on the form or if the operation can be performed asynchronously in the background. 
 
After the business rules execute after the record is saved, allowing for actions like updating other related records or calling external APIs. However, they can impact the user experience if the external operation is slow, as the user will have to wait for the completion of the after business rule before the form reloads. 
 
Async business rules, on the other hand, run in the background, allowing the user to continue working without waiting for the completion of the integration operation. This is ideal for long-running or resource-intensive integrations. 
 
In essence, choose the After business rule if you need immediate feedback on the form, and Async business rule if the operation can run independently without affecting the user experience. 
 
If this is helpful, please hit the thumbs up button and accept the correct solution by referring to this solution in the future; it will be helpful to them.
 
Thanks & Regards,
Abbas Shaik

View solution in original post

3 REPLIES 3

Abbas_5
Tera Sage
Tera Sage

Hello @ChetanaP,

 

For an integration POST method in ServiceNow, the After business rule or Async business rule is commonly used. The choice depends on whether you need real-time feedback on the form or if the operation can be performed asynchronously in the background. 
 
After the business rules execute after the record is saved, allowing for actions like updating other related records or calling external APIs. However, they can impact the user experience if the external operation is slow, as the user will have to wait for the completion of the after business rule before the form reloads. 
 
Async business rules, on the other hand, run in the background, allowing the user to continue working without waiting for the completion of the integration operation. This is ideal for long-running or resource-intensive integrations. 
 
In essence, choose the After business rule if you need immediate feedback on the form, and Async business rule if the operation can run independently without affecting the user experience. 
 
If this is helpful, please hit the thumbs up button and accept the correct solution by referring to this solution in the future; it will be helpful to them.
 
Thanks & Regards,
Abbas Shaik

ChetanaP
Tera Contributor

thanks

Ankur Bawiskar
Tera Patron
Tera Patron

@ChetanaP 

We can't give any recommendations without knowing what's your business requirement or what type of integration you are planning to handle.

You can also use flow designer with low-code, no-code approach

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