<?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>How do I have save an Integration HTTP response in a global variable and use it as a header for another integration</title><link>https://community.appian.com/discussions/f/integrations/29701/how-do-i-have-save-an-integration-http-response-in-a-global-variable-and-use-it-as-a-header-for-another-integration</link><description>Hello, 
 As shown in the screenshot below, I am able to get a ASP.NET_SessionId in HTTP Response instead of getting it in Result. In such a case h ow do I save it in a global variable and use it as a header input for another integration to fetch data</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How do I have save an Integration HTTP response in a global variable and use it as a header for another integration</title><link>https://community.appian.com/thread/118029?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 15:03:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3adca13f-bb56-4c3f-b5ec-6feba7387583</guid><dc:creator>prathmeshd4095</dc:creator><description>&lt;p&gt;Thank you Mathieu. Yes that is similar issue to what we are facing. I wonder if there is any workaround we can do within Appian to solve this. The vendor of the system we are trying to integrate with has denied to make any changes to the result body to&amp;nbsp;make the desired cookie available in it thus we have limited options.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I have save an Integration HTTP response in a global variable and use it as a header for another integration</title><link>https://community.appian.com/thread/117968?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 07:43:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6ad6ac89-36b8-4860-b2cc-14c9490785ef</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Duplicate of &lt;a href="https://community.appian.com/discussions/f/integrations/21218/integration-object---accessing-multiple-headers-with-the-same-name?"&gt;community.appian.com/.../integration-object---accessing-multiple-headers-with-the-same-name&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I have save an Integration HTTP response in a global variable and use it as a header for another integration</title><link>https://community.appian.com/thread/117948?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 17:54:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a58ef444-d120-4c29-9b66-4187e17204ca</guid><dc:creator>prathmeshd4095</dc:creator><description>&lt;p&gt;Hello Stefan, In my case the value I am trying to capture/save (ie. Cookie: ASP.NET_SessionId) highlighted in screenshot resides in Integration &amp;#39;HTTP Response&amp;#39; and not in the Result body Directory . In such case is there a way save it into a local variable so it could be used as a header to another Integration&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I have save an Integration HTTP response in a global variable and use it as a header for another integration</title><link>https://community.appian.com/thread/117832?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 07:41:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4260732c-98d4-4b62-826e-bac4c7002ca8</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;The return value when calling the integration is a dictionary. You will find the headers inside the result item.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I have save an Integration HTTP response in a global variable and use it as a header for another integration</title><link>https://community.appian.com/thread/117818?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 01:52:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d839d882-5d84-42d5-87ce-7fe97069d606</guid><dc:creator>prathmeshd4095</dc:creator><description>&lt;p&gt;Thank you Stefan, can you share an example of how do i need to define an expression if name of&amp;nbsp;the integration is &amp;#39;integration1&amp;#39; and the value I need to extract from http response is&amp;nbsp;&lt;span&gt;ASP.NET_SessionId which I could use in &amp;#39;integration2&amp;#39;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I have save an Integration HTTP response in a global variable and use it as a header for another integration</title><link>https://community.appian.com/thread/117817?ContentTypeID=1</link><pubDate>Sun, 20 Aug 2023 17:09:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a208b9ee-db23-45b2-ae67-107fa0d88a00</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Not sure what you mean with a &amp;quot;global variable&amp;quot;. Something like this does not exist in Appian.&lt;/p&gt;
&lt;p&gt;But, to make things simple, you wrap the integration that returns this ID into an expression rule that extracts just that ID. Then you call this expression to populate the value of the session header in the other integration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>