Unable to make async rest request from a before business rule?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2015 09:44 AM
I have a business rule that runs on insert and update on a app scoped table.The business rule calls a restful webservice and based on the response the operation should either be aborted or continue.
When I run this as a before rule I get an error stating Use an async business rule to perform outbound HTTP requests. I have tried switching the webservice to use executeasync and that has caused more errors with truncation of the endpoint. I have also tried switching the business rule to async but that doesn't allow for me to stop the current operation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2015 01:49 PM
Bryan Barnard, did you have anything else to add to this? I was out for a few days, and in getting ready to submit my app I realized the way we are doing it now is not usable. The user is forced to wait 20+ seconds for the request to complete. I'm not sure why this is different, in Eureka we did the same and the user did not experience this 20+ second ui freeze.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2015 12:14 PM
Bryan Barnard, We have a use case that makes a PUT followed by a POST and both are async (because otherwise they would throw the big bad error message above). However, this freezes the UI for a full 40 seconds.
It seems like doing an async call should not freeze the UI like this because the call is done "asynchronously". Is this expected behavior?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2015 12:29 PM
That does not seem right. Can you give me instance version info this is occurring on?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2015 11:10 PM
I've seen it all through Fuji. My latest test was Patch 6.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2015 06:19 AM
Can you share the business rule scripts you are running either here or offline?