Can Salesforce Connector a!sfcUpdate() be used in Script Node?

Hi,

We have a scenario to integrate salesforce for case update at the end of the workflow which is outside of Sail form, and we are evaluation if salesforceConnector could be used by using a!sfcUpdate. anyone has any experience related to that?  we are using Appian 17.2

Btw: the document examples is used inside Sail Interface which doesn't meet our scenario.

 

Thanks,

Ping

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    Hi i believe, you can't use a!sfcUpdate() in Script Task as this needs to get executed using bind() and this is possible using Interface.

    However did you try executing this using WEB-API (POST) because i believe we make the use of bind() in WEB-API when it's a POST Call, I didn't try this before but you can have a try on that, it should work.

    Also please do remember a!sfcUpdate() is only meant for SOAP based call specific to /v27.0 and /v28.0, hence first of all you need to be clear about what type of Service API are you trying to consume, whether it's a REST or SOAP, because your integration pattern also need to change according to the type of Service.
Reply
  • 0
    Certified Lead Developer
    Hi i believe, you can't use a!sfcUpdate() in Script Task as this needs to get executed using bind() and this is possible using Interface.

    However did you try executing this using WEB-API (POST) because i believe we make the use of bind() in WEB-API when it's a POST Call, I didn't try this before but you can have a try on that, it should work.

    Also please do remember a!sfcUpdate() is only meant for SOAP based call specific to /v27.0 and /v28.0, hence first of all you need to be clear about what type of Service API are you trying to consume, whether it's a REST or SOAP, because your integration pattern also need to change according to the type of Service.
Children
No Data