Workflow Execution Schedule To Call Webservice Later

(Doc ID 2136776.1)

Last updated on MARCH 20, 2018

Applies to:

Oracle Fusion Sales Cloud Service - Version and later
Information in this document applies to any platform.


Created a before update trigger on Opportunity that calls a webservice to update an external system when a field is changed. The triggers work fine but while the trigger runs the webservice, the page is frozen for a while and this causes latency in using the application.

Question is: Is there a way to trigger this webservice when a field is changed on opportunity object and you click save/save and close the webservice to start and run in the background? so the users would not be impacted anymore about the latency and can continue work in the application while the webservice runs?

Also tried to do this via object workflow. But unfortunately, when the workflow does call the object trigger and try to make a webservice call we're getting this error "JBO-25183: Exception in expression "OpportunityEO" trigger "SageRefVoid" : java.lang.NullPointerException : Cannot invoke method labort() on null object". So can you please explain why this webservice works when used in a simple trigger and doesn't work in a workflow?


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms