Skip to main content
sarathkumr268295
December 12, 2023
Question

Integration timing out in PM

  • December 12, 2023
  • 9 replies
  • 0 views

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?

9 replies

stefanhelzle0001
December 12, 2023

Not without any details.

My first question would be: "Do you use the exact same parameters when testing and in the process?"

sarathkumr268295
December 12, 2023

Yep. They are the same. It has 2 parameters which are embedded into the headers of the end point. 

While testing from the integration, I am using the json body directly in rule input. While trying from process model, I am using an expression rule to construct the json and having it converted into json using a!tojson inside the expression. Then I am storing it in a pv and passing that pv as rule input into the integration object.

stefanhelzle0001
December 12, 2023

This is a bit confusing ... and I see quite a few spots for making mistakes.

Did you try to enable HTTP logging in the integration and check the log files to see what is going on?

abhayd3663
December 12, 2023

To check the response time difference and other possible issues, try to call integration object in script task and compare.

sarathkumr268295
December 13, 2023

I dont think there is means to call a post method from the script task in a process model. Get method can be called like that. Not sure on post

sarathkumr268295
December 13, 2023

Just an update. The integration was getting timed out since the data was not present in the target system. My bad[emoticon:a4e85e433e1d4925be94153b3135754f]