<?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 to extract the integration result response</title><link>https://community.appian.com/discussions/f/integrations/20872/how-to-extract-the-integration-result-response</link><description>Hi there, I have an integration, the returned result is as above. 
 How do I extract the information for &amp;quot;MATERIALDOCUMENT&amp;quot;? in the &amp;quot;data&amp;quot; tag of integration in my process model, I add a custom output as &amp;quot;AC!Result.body.BAPI_GOODSMVT_CREATE.Response.MATERIALDOCUMENT</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: how to extract the integration result response</title><link>https://community.appian.com/thread/82646?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 05:28:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c9815911-3175-4e12-97f8-05a0145ba062</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;In such situations I try to drill down into the data structure step by step.&lt;/p&gt;
&lt;p&gt;Seems like this is in a call integration node. I suggest to create an expression which calls the integration and extracts the data. This is way easier to test and debug. Then call that expression in a script task.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to extract the integration result response</title><link>https://community.appian.com/thread/82642?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 00:40:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a6622219-6f65-42fc-8394-a164af09e124</guid><dc:creator>linp0001</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/18/pastedimage1623803898683v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Hi Stefan, thanks for the help before.&lt;/p&gt;
&lt;p&gt;I get another one, I want to extract the &amp;quot;MESSAGE&amp;quot; in the returned response, how to extract. I did&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;AC!Result.body.&amp;#39;BAPI_GOODSMVT_CREATE.Response&amp;#39;.RETURN.item.MESSAGE&amp;quot;, does not work.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Lin&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to extract the integration result response</title><link>https://community.appian.com/thread/81288?ContentTypeID=1</link><pubDate>Fri, 30 Apr 2021 15:17:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ea850645-e8ee-4a9f-91c4-01baa0ac8d56</guid><dc:creator>linp0001</dc:creator><description>&lt;p&gt;it&amp;#39;s working, thank you very much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to extract the integration result response</title><link>https://community.appian.com/thread/81279?ContentTypeID=1</link><pubDate>Fri, 30 Apr 2021 07:00:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:102b2a8b-a48f-4f69-80e8-80c22943297e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I think the issue here is that there is a dot in one of the field names.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;AC!Result.body.&lt;strong&gt;BAPI_GOODSMVT_CREATE.Response&lt;/strong&gt;.MATERIALDOCUMENT&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Try this&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;AC!Result.body.&amp;#39;BAPI_GOODSMVT_CREATE.Response&amp;#39;.MATERIALDOCUMENT&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to extract the integration result response</title><link>https://community.appian.com/thread/81277?ContentTypeID=1</link><pubDate>Fri, 30 Apr 2021 06:22:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6985fc93-2f51-4437-9ffd-b0da773eb5ff</guid><dc:creator>Timo</dc:creator><description>&lt;p&gt;result.body gives you the body as dictionary.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You can do an index or just direct mapping.&lt;br /&gt;&lt;br /&gt;In this example it will give you the dictionary: BAPI_GOODSMVT_CREATE_Response.&lt;br /&gt;From there you can index or map to lower values.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>