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:
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