You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Call esswebservice via groovy script

edited Apr 28, 2021 3:17PM in Sales 1 comment

Content

Hi,

I need to run schedule job "Perform Assignment Data Publish, Refresh, and Synchronization" to publish the assignment rules via groovy script.

I was able to run the job but it is failing in the UI - Scheduled Process. It keeps on retrying and is not getting completed. See attached screenshot. 

I wasn't able to send multiple parameters to the webservice which might be the cause of the issue. Can someone provide a sample groovy script to pass multiple parameters to ESS JOB?

 

def responseESS;
def description = "Publish Assignment Rules";
def jobDefinitionId =
[
    name : "CacheRefresher",
    packageName : "/oracle/apps/ess/crmCommon/workMgmt/assignmentMgr",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!