IBM Sterling Transformation Extender

 View Only

Salesforce Resource Adapter New Records Issue

  • 1.  Salesforce Resource Adapter New Records Issue

    Posted Thu May 23, 2024 11:02 PM

    I am using below command to create a record in salesforce using 10.1.1 version of Extender.

    =PUT("SFORCE", "-E createRecord -ATEA reportError -AT 00DDw000005FD7q!AQsAQEeAEHL1S.7Ww0CNk8kxsHFyD5OG.uDmJGzD_WDS.Q -IURL https://xxxxx--dnb.sandbox.lightning.force.com -SV 60.0 -SON Account -TV", inputJson)

    inputJson is {"Name" : "First Account From IBM WTX"}, json file is added to input card.

    Not getting any error and no record is getting created in Salesforce. Below is the log and it shows 302 response.

    <12820-15064-05/23/24 22:47:29>: [connect]
    <12820-15064-05/23/24 22:47:29>: [connect] (rc = 0) OK
    <12820-15064-05/23/24 22:47:29>: PutStart notification received for adapter instance: com.hcl.hip.adapters.m4rest.MAdapterImpl@e8e3ea1d
    <12820-15064-05/23/24 22:47:29>: Invocation type: SPECIFIC
    <12820-15064-05/23/24 22:47:29>: [put]
    <12820-15064-05/23/24 22:47:29>: | [executeRequest]
    <12820-15064-05/23/24 22:47:29>: | | [setAuthPropertiesFromConfig]
    <12820-15064-05/23/24 22:47:29>: | | [setAuthPropertiesFromConfig] (rc = 0) OK
    <12820-15064-05/23/24 22:47:29>: | | [setUpAuthentication]
    <12820-15064-05/23/24 22:47:29>: | | | URL:https://xxxxx--dnb.sandbox.lightning.force.com/services/data/v60.0/sobjects/Account Authentication:OAUTH2.
    <12820-15064-05/23/24 22:47:29>: | | [setUpAuthentication] (rc = 0) OK
    <12820-15064-05/23/24 22:47:29>: | | Response: (302) Found.
    <12820-15064-05/23/24 22:47:29>: | | Duration: 159 ms.
    <12820-15064-05/23/24 22:47:29>: | [executeRequest] (rc = 0) OK
    <12820-15064-05/23/24 22:47:29>: [put] (rc = 0) OK

    Can someone help me with the resolution?

    Thanks

    Kiran



    ------------------------------
    Kiran C
    ------------------------------