The Now Platform® Washington DC release is live. Watch now!

Help
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How invoke REST API from Business rule

sundar reddy
Mega Contributor

My requirement is Invoke REST API from Business rule. can any one explain step by step

1 ACCEPTED SOLUTION

Mike Patel
Tera Sage
Tera Sage

You can go to Rest Messages and open which REST message you want to get the script for. Open Method. click on Preview. That will give you script that you can use in business rule.

find_real_file.png

find_real_file.png

find_real_file.png

find_real_file.png

View solution in original post

2 REPLIES 2

Mike Patel
Tera Sage
Tera Sage

You can go to Rest Messages and open which REST message you want to get the script for. Open Method. click on Preview. That will give you script that you can use in business rule.

find_real_file.png

find_real_file.png

find_real_file.png

find_real_file.png

Shiraz2
Mega Guru

ou can use business rules to send REST outbound messages when certain actions take place in the Express instance.

Role required: admin

For example, you can post an update to an equipment management database when a change request for an item is completed and closed.

 

  1. Navigate to Application Configuration > Web Services > Business Rules.
  2. Click New.
    The Web Services check box is already selected for the new business rule.
  3. Enter a name for your business rule and select the table.
  4. In the When to run section, select the filter conditions.
  5. In the Web Services section, select the REST Service and REST Method.
  6. If the Variable Substitutions option appears, enter values as applicable.
  7. Click Submit.

I hope this helps.