<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Integration timing out in PM</title><link>https://community.appian.com/discussions/f/integrations/30902/integration-timing-out-in-pm</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Integration timing out in PM</title><link>https://community.appian.com/thread/123125?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2023 11:55:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5379c4cb-d048-4b80-bf95-1b7819a504b5</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;Just an update. The integration was getting timed out since the data was not present in the target system. My bad&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f611.svg" title="Expressionless"&gt;&amp;#x1f611;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration timing out in PM</title><link>https://community.appian.com/thread/123124?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2023 11:38:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5ca2be49-a338-4616-bb72-9ca156571974</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;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&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration timing out in PM</title><link>https://community.appian.com/thread/123113?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 22:10:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1b5cca8c-3cfc-42b2-9a50-8d2442a011a7</guid><dc:creator>Abhay Dalsaniya</dc:creator><description>&lt;p&gt;To check the response time difference and other possible issues, try to call integration object in script task and compare.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration timing out in PM</title><link>https://community.appian.com/thread/123099?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 14:55:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:984de918-13f5-4014-a08c-c6b6251fb608</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;Yeah will try that Stefan&lt;br /&gt;thanks for the info&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration timing out in PM</title><link>https://community.appian.com/thread/123098?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 14:45:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:35a8385e-1b91-490b-894d-f19f47eb4945</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Only use JSON only to talk to the outside world, and convert to/from Appian maps directly at the borders.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration timing out in PM</title><link>https://community.appian.com/thread/123097?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 14:34:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2cfd0412-72e6-446c-b7b3-db6e20be5109</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;We dont have that option enabled in our environment.&lt;/p&gt;
&lt;p&gt;This is an example json which we will get it from the expression rule. I am a little skeptical on these [] braces since appian does not accept these. Will these be the reason for causing such error?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="json"&gt;{
  &amp;quot;firstName&amp;quot;:&amp;quot;&amp;quot;,
  &amp;quot;lastName&amp;quot;:&amp;quot;&amp;quot;,
  &amp;quot;address&amp;quot;:[]
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration timing out in PM</title><link>https://community.appian.com/thread/123095?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 14:05:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e2db203f-36ee-4a5b-a14e-8ea589279af6</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;This is a bit confusing ... and I see quite a few spots for making mistakes.&lt;/p&gt;
&lt;p&gt;Did you try to enable HTTP logging in the integration and check the log files to see what is going on?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration timing out in PM</title><link>https://community.appian.com/thread/123091?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 13:44:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bfd33e14-67d7-4e60-ab2a-0b176af9c405</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;Yep. They are the same. It has 2 parameters which are embedded into the headers of the end point.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integration timing out in PM</title><link>https://community.appian.com/thread/123089?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 13:37:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9ea2a486-c0e2-4006-98b2-213552bd3818</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Not without any details.&lt;/p&gt;
&lt;p&gt;My first question would be: &amp;quot;Do you use the exact same parameters when testing and in the process?&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>