Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
How to Pass Multiple Parameter in SOAP Request from Groovy — Cloud Customer Connect
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

How to Pass Multiple Parameter in SOAP Request from Groovy

Accepted answer
13
Views
1
Comments
edited Nov 4, 2020 3:43PM in Sales 1 comment

Summary

Trying to call SOAP request of ESS submit request and passing 5 parameters

Content

The ESS job submitted with last parameter passed in the request. The other 4 parameters are not passed to ESS request. Below is the groovy,

def description = 'Submit Account Assignment ESS from groovy'
def jobDefinitionId = [
    name :"SalesAccountBatchAssignRequest",
    packageName :"/oracle/apps/ess/crmCommon/salesParties",
    type :"JOB_DEFINITION"
]
def application = 'CrmEss'
def requestedStartTime = '2020-11-04T14:30:00'
def requestParameters = [
    parameter:
    [[
      dataType :"STRING",
      name :"submit.argument1",
      value :"SalesAccount_Work_Object"
    ]],
parameter:
    [[
      dataType :"STRING",
      name :"submit.argument2",
      value :"SalesAccountTerritory_Candidate_Object"
    ]],
parameter:
    [[
      dataType :"STRING",
      name :"submit.argument3",
      value :"Territory"
    ]],
parameter:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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