Integration timing out in PM

Certified Senior Developer

We are using a POST integration to an external system. When calling the integration from the integration object, its working fine and giving success response. But when we are calling the same integration from the process model using call integration smart service, its getting timed out. The time out has configured to be 20 seconds. When checking from integration object, its taking around 7 seconds for giving sucess response.Only inside process model its getting timed out. Can anyone help on this?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Sarathkumar R

    In JSON, angular brackets indicate a list. In Appian, we use curly brackets for lists. The functions toJson() and fromJson() convert to/from JSON to Appian.

    I am not sure why you create JSON text in an expression, store it to a PV, and forward it into the integration to define the body. I suggest to create a map using a!map() instead. Pass it to the PV and the integration and let Appian automatically convert it into JSON when calling the API.

    Only use JSON only to talk to the outside world, and convert to/from Appian maps directly at the borders.

Children