Workflow Execution Schedule To Call Webservice Later
Last updated on MAY 31, 2016
Applies to:Oracle Fusion Sales Cloud Service - Version 18.104.22.168.0 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
Million Knowledge Articles and hundreds of Community platforms