Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

Invoking a trigger gives JBO-29000 error

Summary:


Content (required):

Getting below error while invoking trigger:

JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=class java.util.LinkedHashMap cannot be cast to class java.lang.String

Below web service is being hit:

https://eklt-test.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/##SubscriptionNumber##/130250/child/products/

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

def sSubscriptionNumber = getAttribute("SubscriptionNumber").toString()

println('Subscription Number is : '+sSubscriptionNumber)


def WSResponse


try{

 def WService = adf.webServices.XX_OSS_Get_ProductPUID

 def Headers=['Content-Type' :'application/json']

 WService.requestHTTPHeaders = Headers

 def Payload1 = [

  SubscriptionNumber:sSubscriptionNumber

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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