<?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>Parsing HTTP Response</title><link>https://community.appian.com/discussions/f/integrations/35001/parsing-http-response</link><description>I am struggling with parsing the HTTP response. I thought fv!result in the rule that called the integration would allow me to access the body of the response. However, I am getting errors. The three values I am trying to access are highlighted below.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Parsing HTTP Response</title><link>https://community.appian.com/thread/135680?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 14:22:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3afaa8dd-e1d7-42ef-a6c3-cc4f43d86889</guid><dc:creator>Naveen Chandu Ganji</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a href="/members/johnd0037"&gt;Rochester&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;It appears you have missed the keywords on your form layout on the code you shared. &lt;br /&gt;Try this and check&amp;nbsp;if you get any data on your local!integrationResponse and share here if you need help diagnosing this further&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
    local!integrationResponse,
    a!formLayout(
      contents:{
        a!richTextDisplayField(
        labelPosition: &amp;quot;COLLAPSED&amp;quot;,
        value: {
          a!richTextItem(text:tostring(local!integrationResponse))
        }
      ),
      a!buttonArrayLayout(
        buttons: {
          a!buttonWidget(
            label: &amp;quot;Submit Test Data&amp;quot;,
            style: &amp;quot;OUTLINE&amp;quot;,
            saveInto: {
              rule!CreatePatientResource(
                givenName: &amp;quot;Susan&amp;quot;,
                familyName: &amp;quot;James&amp;quot;,
                gender: &amp;quot;Female&amp;quot;,
                dateOfBirth: &amp;quot;1989-02-23&amp;quot;,
                onSuccess: {
                  a!save(local!integrationResponse, fv!result)
                },
                onError: {
                  /*Handle HTTP error */
                  a!save(
                    local!integrationResponse,
                    fv!error.message
                  )
                }
              )
            }
          )
        },
        align: &amp;quot;START&amp;quot;,
        marginBelow: &amp;quot;NONE&amp;quot;
      )
      }
    )
  )&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parsing HTTP Response</title><link>https://community.appian.com/thread/135679?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 14:13:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:820d112f-e2c5-451b-9098-50e9af9d27ae</guid><dc:creator>Rochester</dc:creator><description>&lt;p&gt;As suggested, I tried to create a simple test-interface .... But I am trying to figure out how to display the result&amp;nbsp;returned by the integration because I am getting the following errors&lt;/p&gt;
&lt;p&gt;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;/strong&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;Interface Definition: Expression evaluation error at function a!richTextDisplayField [line 5]: A rich text item or rich text list item in a rich text display component [label=""] has an invalid value for &amp;quot;text&amp;quot;. Text can only be of type date, date and time, decimal, rich text icon, integer, rich text item, text, time, or user. Received RichTextDisplayField.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
  a!localVariables(
    local!integrationResponse,
    a!formLayout(
      a!richTextDisplayField(
        labelPosition: &amp;quot;COLLAPSED&amp;quot;,
        value: {
          a!richTextItem(text:local!integrationResponse)
        }
      ),
      a!buttonArrayLayout(
        buttons: {
          a!buttonWidget(
            label: &amp;quot;Submit Test Data&amp;quot;,
            style: &amp;quot;OUTLINE&amp;quot;,
            saveInto: {
              rule!CreatePatientResource(
                givenName: &amp;quot;Susan&amp;quot;,
                familyName: &amp;quot;James&amp;quot;,
                gender: &amp;quot;Female&amp;quot;,
                dateOfBirth: &amp;quot;1989-02-23&amp;quot;,
                onSuccess: {
                  a!save(local!integrationResponse, fv!result)
                },
                onError: {
                  /*Handle HTTP error */
                  a!save(
                    local!integrationResponse,
                    fv!error.message
                  )
                }
              )
            }
          )
        },
        align: &amp;quot;START&amp;quot;,
        marginBelow: &amp;quot;NONE&amp;quot;
      )
    )
  )
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parsing HTTP Response</title><link>https://community.appian.com/thread/135608?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 13:26:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9e3deef8-c6ed-48d6-8526-2de19bf8cd7c</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;So, my typical approach is, to reduce complexity when I am stuck. Build a separate test interface with just the minimum things. Then I suggest to save the whole API response to a local variable. Then drill into it, step by step. It is so easy to get this wrong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parsing HTTP Response</title><link>https://community.appian.com/thread/135607?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 13:15:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:840be0e4-def7-402c-a2a5-bce5858b728b</guid><dc:creator>Rochester</dc:creator><description>&lt;p&gt;The interface works - I don&amp;#39;t see any error message.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parsing HTTP Response</title><link>https://community.appian.com/thread/135583?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 09:06:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d07a5e91-a32f-4455-804f-d6e5f2fa4586</guid><dc:creator>Naveen Chandu Ganji</dc:creator><description>&lt;p&gt;&lt;a href="/members/johnd0037"&gt;Rochester&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;Your code looks good and I dont see any problem . Since you are getting the response from your headers after the integration&amp;nbsp;to debug it will be worth capturing the whole response from fv!result to your local variable instead of indexing it right away and check if the response is indeed as you are expecting it to be.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parsing HTTP Response</title><link>https://community.appian.com/thread/135564?ContentTypeID=1</link><pubDate>Sun, 19 May 2024 08:03:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d411127f-6fce-4770-be28-cd561d0cc5f7</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/18/pastedimage1716105683892v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;What do you mean with&amp;nbsp;&lt;/p&gt;
[quote userid="246616" url="~/discussions/f/integrations/35001/parsing-http-response/135561"]If I remove the highlighted line, it works[/quote]
&lt;p&gt;What does work? Do you see any error message?&lt;/p&gt;
&lt;p&gt;That line looks good for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parsing HTTP Response</title><link>https://community.appian.com/thread/135561?ContentTypeID=1</link><pubDate>Sat, 18 May 2024 21:05:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:68a3f6ed-ccc5-48c8-99c7-30adc7176638</guid><dc:creator>Rochester</dc:creator><description>&lt;p&gt;&lt;span style="font-family:georgia, palatino;"&gt;Hello Naveen:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:georgia, palatino;"&gt;Here is the code.... If I remove the highlighted line, it works but I need the ID from the integration&amp;#39;s response (see image from previous post).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:georgia, palatino;"&gt;Thank you for your help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;a!sectionLayout(&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; label: &amp;quot;Patient Information&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; contents: {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!textField(&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; label: &amp;quot;First Name&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; placeholder: &amp;quot;Enter Patient&amp;#39;s Given Name&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; value: local!firstName,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; saveInto: {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; local!firstName,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!save(local!registrationErrorMessage, null)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; },&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; refreshAfter: &amp;quot;KEYPRESS&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; required: true,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; disabled: local!registrationComplete&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; ),&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!textField(&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; label: &amp;quot;Family Name&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; placeholder: &amp;quot;Enter Patient&amp;#39;s Surname Name&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; value: local!surName,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; saveInto: {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; local!surName,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!save(local!registrationErrorMessage, null)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; },&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; refreshAfter: &amp;quot;KEYPRESS&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; required: true,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; disabled: local!registrationComplete&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; ),&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!textField(&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; label: &amp;quot;Gender&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; placeholder: &amp;quot;Enter Patient&amp;#39;s Gender&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; value: local!gender,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; saveInto: {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; local!gender,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!save(local!registrationErrorMessage, null)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; },&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; refreshAfter: &amp;quot;KEYPRESS&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; required: true,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; disabled: local!registrationComplete&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; ),&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!dateField(&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; label: &amp;quot;Date of Birth&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; value: local!dateOfBirth,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; saveInto: {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; local!dateOfBirth,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!save(local!registrationErrorMessage, null)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; },&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; required: true,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; disabled: local!registrationComplete&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; ),&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!textField(&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; label: &amp;quot;Student Identifier&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; placeholder: &amp;quot;Enter Student Identifier&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; value: local!studentIdentifier,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; saveInto: {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; local!studentIdentifier,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!save(local!registrationErrorMessage, null)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; },&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; refreshAfter: &amp;quot;KEYPRESS&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; required: true,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; disabled: local!registrationComplete&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; ),&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; if(local!registrationComplete,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;/* */&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!richTextDisplayField(&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; value: {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!richTextImage(image: a!documentImage(document: a!iconIndicator(icon: &amp;quot;STATUS_OK&amp;quot;))),&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!richTextItem(text:local!integrationResponse, color:&amp;quot;ACCENT&amp;quot;, size:&amp;quot;MEDIUM&amp;quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; /*a!richTextItem(text:&amp;quot;has been successfully registered&amp;quot;, size:&amp;quot;MEDIUM&amp;quot;),*/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; ),&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!richTextDisplayField(&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; value: {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!richTextImage(image: a!documentImage(document: a!iconIndicator(icon: &amp;quot;STATUS_OK&amp;quot;))),&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!richTextItem(text:local!registrationConfirmationMessage, color:&amp;quot;ACCENT&amp;quot;, size:&amp;quot;MEDIUM&amp;quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; /*a!richTextItem(text:&amp;quot;has been successfully registered&amp;quot;, size:&amp;quot;MEDIUM&amp;quot;),*/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; ),&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; },&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!buttonLayout(&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; primaryButtons: {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!buttonWidget(&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; label: &amp;quot;Register Patient&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; saveInto: { {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; rule!CreatePatientResource(&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; givenName:local!firstName,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; familyName:local!surName,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; gender:local!gender,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; dateOfBirth: local!dateOfBirth,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; onSuccess:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!save(local!registrationErrorMessage,null),&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!save(local!registrationComplete,true()), &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!save(local!registrationConfirmationMessage, &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; fv!result.headers.location),&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; /*concat(*/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; /*tostring(local!firstName),*/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; /*&amp;quot; &amp;quot;,*/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; /*tostring(local!surName),*/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; /*&amp;quot; was successfully registered&amp;quot;*/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; /*)*/&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color:#ffff00;font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!save(local!integrationResponse, fv!result.body.id)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;},&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; onError: {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; /*Handle HTTP error */&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; a!save(local!registrationErrorMessage, fv!error.message)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; )&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; },&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; style: &amp;quot;SOLID&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; disabled: not(isnull(local!registrationErrorMessage)),&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; loadingIndicator: true,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; validate: true&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; )&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; )&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; )&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; },&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; validations: if(isnull(local!registrationErrorMessage),&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; {},&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; local!registrationErrorMessage&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; )&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt; )&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parsing HTTP Response</title><link>https://community.appian.com/thread/135519?ContentTypeID=1</link><pubDate>Fri, 17 May 2024 17:11:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:353f55e9-d823-4ed2-88f6-1b6603832303</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;In your code, in the onSuccess, I do not see that you try to fetch any data from the API call result.&lt;/p&gt;
&lt;p&gt;Find here the documentation about how to call an integration.&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://docs.appian.com/suite/help/24.1/Call_an_Integration.html"&gt;https://docs.appian.com/suite/help/24.1/Call_an_Integration.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then, I suggest to create a very simplified test interface to&amp;nbsp;make a root cause analysis easier.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parsing HTTP Response</title><link>https://community.appian.com/thread/135516?ContentTypeID=1</link><pubDate>Fri, 17 May 2024 16:54:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d6deaf7f-9a15-48d1-a787-5892f3547cfe</guid><dc:creator>Naveen Chandu Ganji</dc:creator><description>&lt;p&gt;&lt;a href="/members/johnd0037"&gt;Rochester&lt;/a&gt;&amp;nbsp;&lt;br /&gt;Error:&lt;span id="05661114a2ec83e16d8cb89c84004269" class="FieldLayout---field_label"&gt;Could not display interface. Please check definition and inputs.&amp;nbsp;&amp;nbsp;&lt;/span&gt;Interface Definition: Expression evaluation error:&lt;/p&gt;
&lt;p&gt;This error appears to be more with how the data is being handled after your integration call.&lt;/p&gt;
&lt;p&gt;Your code for calling the integration itself appears to be good.&lt;/p&gt;
&lt;p&gt;If you could share the code for your interface that would help diagnose the problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parsing HTTP Response</title><link>https://community.appian.com/thread/135512?ContentTypeID=1</link><pubDate>Fri, 17 May 2024 14:40:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:920a9a2d-f41d-4c02-bf15-0c75226fdfe3</guid><dc:creator>Rochester</dc:creator><description>&lt;p&gt;Error:&lt;span id="05661114a2ec83e16d8cb89c84004269" class="FieldLayout---field_label"&gt;Could not display interface. Please check definition and inputs.&amp;nbsp;&amp;nbsp;&lt;/span&gt;Interface Definition: Expression evaluation error:&lt;/p&gt;
&lt;p&gt;Here is the sequence&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/18/ApplicationFlow.png" /&gt;&lt;/p&gt;
&lt;div class="FieldLayout---input_below"&gt;
&lt;div class=""&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parsing HTTP Response</title><link>https://community.appian.com/thread/135451?ContentTypeID=1</link><pubDate>Thu, 16 May 2024 13:26:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b698f577-9a0e-4b47-9132-22cf230ce1ba</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;OK. And the other questions from my post?&lt;/p&gt;
&lt;p&gt;When you configure that integration to &amp;quot;Usage: Modifies Data&amp;quot;, you can only call it inside a saveInto or a Call Integration node in a process. And this is when the onSuccess and onError pop up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parsing HTTP Response</title><link>https://community.appian.com/thread/135448?ContentTypeID=1</link><pubDate>Thu, 16 May 2024 13:21:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a09c0899-6f0a-4f4a-9b80-81c08d31fa44</guid><dc:creator>Rochester</dc:creator><description>&lt;p&gt;The onSuccess/onError was shown as rule-inputs when we selected &amp;quot;Override and define all error conditions&amp;quot; option.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/18/pastedimage1715865477814v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This is the integration that we are trying to call and obtain results from.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/18/pastedimage1715865647981v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Parsing HTTP Response</title><link>https://community.appian.com/thread/135426?ContentTypeID=1</link><pubDate>Thu, 16 May 2024 11:20:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2f4780b0-74a5-4634-ac05-6581f868e74b</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;And what errors do you get?&lt;/p&gt;
&lt;p&gt;For me, your code and your requirements do not match.&lt;/p&gt;
&lt;p&gt;Where is this &amp;quot;onSuccess&amp;quot; coming from. Do you try to call an integration which you configured to &amp;quot;Modifies Data&amp;quot; just inside some expression code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>