<?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 call integration in interface</title><link>https://community.appian.com/discussions/f/user-interface/39025/how-to-call-integration-in-interface</link><description>t I need validation in such a way that it validates each mail address is in mail format and one mail address per line. example : &amp;quot;test@test.com&amp;quot; &amp;quot;test2@test.com&amp;quot; If there are any errors then throw validation error ,if all email addresses are in mail format</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147870?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 11:59:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5e2bd35-077f-4a3f-9256-4af6fc63ce2b</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="91720" url="~/discussions/f/user-interface/39025/how-to-call-integration-in-interface/147862"]How can I pass it as rule input to integration[/quote]
&lt;p&gt;The thing you&amp;#39;re currently doing (with the paragraph field) should be sufficient for passing it into the integration.&amp;nbsp; The problem is that you&amp;#39;re not passing the data in formatted correctly, and you haven&amp;#39;t really given us sufficient description yet of what the integration requires.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147867?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 09:53:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:309dcf7a-123e-4a85-aae0-457d58a3b641</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;You will have to perform it in a saveInto under a button&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147862?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 08:30:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9cbdd89f-2b10-4b8b-a4f7-2ec10938dd7a</guid><dc:creator>ZAINAB</dc:creator><description>&lt;p&gt;I understand this but currently my emails are stored in local variable in the interface .How can I pass it as rule input to integration&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1746606594604v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147861?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 08:19:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2b14ff8b-3054-4c9c-8f2f-f00c8e5a9450</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;You should follow Appian trainings from Appian Academy to understand the basics like rule inputs , &amp;nbsp;variables better. Before working on integrations, understanding how to handle or work with data in Appian is primary.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147860?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 08:17:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ca472ab3-b135-464b-abe7-4d0db1593f1d</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;At the right side you would see an option to configure rule inputs&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1746605689749v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/24.4/Integration_Object.html#http-integration-properties"&gt;docs.appian.com/.../Integration_Object.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147859?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 08:06:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dc10bbbd-90d3-4b8d-8ac2-70e7efbbfb25</guid><dc:creator>ZAINAB</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&amp;nbsp; , i will be passing emails like this to the integration . How do I need to pass the interface result to integration in integration obj?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1746605137087v1.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Getting the below error when trying to type mailaddress in paragraph field .can you please help&amp;nbsp;&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; Interface Definition: Expression evaluation error [evaluation ID = d891f:89f97] : An error occurred while executing a save: Expression evaluation error : An error occurred when creating local!integrationResult. a!save() and smart service functions cannot be used in a local variable unless &amp;quot;refreshAlways&amp;quot; is true for that local variable using the a!refreshVariable() function.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Getting the below error as well&lt;br /&gt;&lt;/span&gt;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;/strong&gt; Interface Definition: Expression evaluation error [evaluation ID = 288a6:536a3] : An error occurred while executing a save: Expression evaluation error at function a!save [line 145]: Incorrect number of parameters for function; expected 2 parameters, but found 1 parameters.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147848?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 05:23:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4e827b25-d9cf-4af6-b907-9817fee3ff81</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Hello &lt;a href="/members/sabat0002"&gt;ZAINAB&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;Could you please check the type of the Rule input that you have configured in the integrations. Does it match to take the inputs that you are passing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147844?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 15:52:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:73a42835-2502-4634-ad6d-2fbeee3140d0</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;You still need to call the integration rule with parameterized naming.&lt;/p&gt;
&lt;p&gt;this is how you had it before (correct):&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1746546599721v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;this is what you&amp;#39;re trying now (which will fail for any rule that doesn&amp;#39;t have exactly 1 parameter, hence the error message you&amp;#39;re getting)&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1746546655303v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The fact that we&amp;#39;re wrapping the &amp;quot;emails&amp;quot; value in a JSON string that also has the property of &amp;quot;emails&amp;quot; doesn&amp;#39;t mean you don&amp;#39;t have to use the named parameter when calling the integration rule.&amp;nbsp; Whether or not the integration is set up to use this or not, is up to its internal code (which you still haven&amp;#39;t shared here, but would help a lot if possible).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147843?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 15:48:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6c5aad7f-d346-46cd-b10d-6454454023ce</guid><dc:creator>ZAINAB</dc:creator><description>&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;Modified the code as below and getting the error as&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;/strong&gt; Interface Definition: Expression evaluation error [evaluation ID = 307dc:00441] : An error occurred while executing a save: Expression evaluation error at function rule!ASR_bulkgetemployees [line 147]: Rule &amp;#39;asr_bulkgetemployees&amp;#39; has 2 parameters, but instead passed 1 parameters.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;code&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt; local!formattedEmailString: a!toJson(&lt;br /&gt; {&lt;br /&gt; emails: joinarray(local!individualEmails, &amp;quot;,&amp;quot;)&lt;br /&gt; }&lt;br /&gt; ),&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt; a!save(&lt;br /&gt; local!integrationResult,&lt;br /&gt; rule!ASR_bulkgetemployees(local!formattedEmailString),&lt;br /&gt; ),&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147842?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 15:37:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:93e6230b-6d36-402a-aee8-a58183f32082</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Please try it with this definition of local!formattedEmailString instead.&amp;nbsp; Here we&amp;#39;re preparing your concatted list of email addresses, but then putting it in a dictionary at the &amp;quot;emails&amp;quot; property, and wrapping that up into a JSON string, which it looks like the integration expects (guessing based on your screenshot).&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;local!formattedEmailString: a!toJson(
  {
    emails: joinarray(local!individualEmails, &amp;quot;,&amp;quot;)
  }
),&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147841?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 15:36:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ae279c56-2359-4363-a521-b03b873768e8</guid><dc:creator>ZAINAB</dc:creator><description>&lt;p&gt;integration is expecting list of emails&amp;nbsp; &amp;quot;test1@test.com ,test2@test.com&amp;quot; . when i pass in the mail addresses it return the employee ID of those mails that&amp;#39;s it&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147840?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 15:31:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ba66725-ed89-45b0-8b65-773af9fb4226</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="91720" url="~/discussions/f/user-interface/39025/how-to-call-integration-in-interface/147839"]is this correct way to pass the body of the integration?[/quote]
&lt;p&gt;From your screenshot of the integration it looks like it&amp;#39;s expecting a JSON object with the property &amp;quot;Emails&amp;quot; followed by the concatenated list of emails.&amp;nbsp; You&amp;#39;re just passing in the email list itself.&amp;nbsp; You might wanna verify exaclty what the integration is expecting to consume.&amp;nbsp; You haven&amp;#39;t shown what the actual code of the integration is doing so it&amp;#39;s, still, hard for me to guess.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147839?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 15:27:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:eb700536-ece1-440a-b7f2-6783a25b6eaf</guid><dc:creator>ZAINAB</dc:creator><description>&lt;p&gt;It is not making any difference .There is some issue calling the integration from the rule .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;is this correct way to pass the body of the integration?&lt;br /&gt; a!save(&lt;br /&gt; local!integrationResult,&lt;br /&gt; rule!ASR_bulkgetemployees(Emails:local!formattedEmailString),&lt;br /&gt; ),&lt;br /&gt;&lt;br /&gt;with this code i get warning as invalid parameter.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;a!save(&lt;/span&gt;&lt;br /&gt;&lt;span&gt;local!integrationResult,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;rule!ASR_bulkgetemployees({&amp;quot;Emails&amp;quot;:local!formattedEmailString}),&lt;/span&gt;&lt;br /&gt;&lt;span&gt;),&lt;br /&gt;&lt;br /&gt;with this code it says&amp;nbsp;Missing keyword syntax&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147838?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 15:13:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fbdf56f7-9ee3-4be3-a42a-b853b65e5ca4</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;In case this makes any difference to your integration, these values are separated by a comma but not a space.&amp;nbsp; The values you&amp;#39;re created in local!formattedString are separated by a comman AND a space.&amp;nbsp; This could easily make a difference if the integration is not expecting to clean extra spaces between emails.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1746544372215v1.png" alt=" " /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1746544398517v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147837?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 15:07:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:839cfcd6-6190-4a43-8610-2d76ff50fc85</guid><dc:creator>ZAINAB</dc:creator><description>&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 [evaluation ID = ab535:440c6] : An error occurred while executing a save: Expression evaluation error : An error occurred when creating local!integrationResult. a!save() and smart service functions cannot be used in a local variable unless &amp;quot;refreshAlways&amp;quot; is true for that local variable using the a!refreshVariable() function.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;getting this error sometime&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147835?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 14:59:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:22655555-ad66-414a-b7be-f5d2a26f099a</guid><dc:creator>ZAINAB</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/13/pastedimage1746543503024v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1746543567449v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147834?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 14:55:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9c74461f-909f-4cf4-be82-9585516688fa</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="91720" url="~/discussions/f/user-interface/39025/how-to-call-integration-in-interface/147833"] in the&amp;nbsp; &amp;quot; &amp;quot;[/quote]
&lt;p&gt;does this mean the integration expects a slightly different value from what the local variable holds?&amp;nbsp; can you post some screenshots of the interface&amp;#39;s current exact value and the value you&amp;#39;re entering in the integration that&amp;#39;s working?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147833?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 14:54:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:83d1a2eb-e1fc-4aad-b650-8e6578271549</guid><dc:creator>ZAINAB</dc:creator><description>&lt;p&gt;copied the value and pasted the value in the&amp;nbsp; &amp;quot; &amp;quot; in the integration it is working&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147832?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 14:49:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:244fa097-9e45-463c-90a4-8f883e7230fe</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;And if you copy out the exact same value and run it in the integration rule by itself, it works?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147831?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 14:48:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7071f3da-28c4-4c18-8b00-24dd2883f2b4</guid><dc:creator>ZAINAB</dc:creator><description>&lt;p&gt;Yes,i&amp;#39;m getting the mails by comma seperated which is expected&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147824?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 14:21:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6cdeaac5-ffa8-4449-bd95-204aea60e69c</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Did you look at the value of local!formattedEmailString before trying the integration, to see if it contains the value you expect?&amp;nbsp; I notice that the only time it&amp;#39;s changed is upon form load, so it should already hold its correct value presumably before you interact with the paragraph field.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147822?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 14:12:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:79113e68-35c2-4a1e-9604-faf3928e660a</guid><dc:creator>ZAINAB</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!data:ri!ASR_Requests,
  local!rawEmails: ri!ASR_Requests.emailAddresses,
  
  local!integrationResult,
  local!isintegrationSuccess,

  local!individualEmails: reject(
    a!isNullOrEmpty(_),
    a!forEach(
      items: split(local!rawEmails, char(10)),
      expression: trim(fv!item)
    )
  ),

  local!invalidEmails: reject(
    a!isNullOrEmpty(_),
    a!forEach(
      items: local!individualEmails,
      expression: if(
        regexmatch(
          pattern: &amp;quot;^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$&amp;quot;,
          searchString: fv!item,
          regexFlags: &amp;quot;si&amp;quot;
        ),
        null,
        fv!item
      )
    )
  ),

  local!formattedEmailString: joinarray(local!individualEmails, &amp;quot;, &amp;quot;),

  local!validationMessage: if(
    a!isNotNullOrEmpty(local!invalidEmails),
    &amp;quot;Emails must be valid and each on a new line.&amp;quot;,
    {}
  ),
  a!formLayout(
    label: &amp;quot;Test Request&amp;quot;,
    contents: {
      a!sectionLayout(
        contents: {
          a!columnsLayout(
            columns: {
              a!columnLayout(
                contents: {
                  a!boxLayout(
                    label: &amp;quot;&amp;quot;,
                    labelSize: &amp;quot;SMALL&amp;quot;,
                    contents: {
                      a!columnsLayout(
                        columns: {
                          a!columnLayout(
                            contents: {
                              a!textField(
                                label: &amp;quot;Title:&amp;quot;,
                                labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                                value: local!data.requestTitle,
                                saveInto: {
                                  a!save(local!data.requestTitle, save!value),
                                  a!save(
                                    ri!ASR_Requests.requestTitle,
                                    save!value
                                  )
                                },
                                refreshAfter: &amp;quot;KEYPRESS&amp;quot;,
                                characterLimit: 100,
                                required: true,
                                requiredMessage: &amp;quot;Title is Required&amp;quot;
                              ),

                              a!dateField(
                                label: &amp;quot;Start Date&amp;quot;,
                                labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                                value: local!data.startDate,
                                saveInto: {
                                  a!save(local!data.startDate, save!value),
                                  a!save(ri!ASR_Requests.startDate, save!value)
                                },
                                required: true,
                                requiredMessage: &amp;quot;Start Date is Required&amp;quot;,
                                validations: rule!ASR_startDateValidation(ri!ASR_Requests.startDate)
                              ),

                              a!dateField(
                                label: &amp;quot;End Date&amp;quot;,
                                labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                                value: ri!ASR_Requests.endDate,
                                saveInto: {
                                  a!save(local!data.endDate, save!value),
                                  a!save(ri!ASR_Requests.endDate, save!value)
                                },
                                required: true,
                                requiredMessage: &amp;quot;End Date is Required&amp;quot;,
                                validations: rule!ASR_endDateValidation(
                                  ri!ASR_Requests.startDate,
                                  ri!ASR_Requests.endDate
                                )
                              )

                            }
                          ),
                          a!columnLayout(
                            contents: {
                              a!textField(
                                label: &amp;quot;Requested By:&amp;quot;,
                                labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                                value: rule!GBL_displayUserFirstLast(loggedInUser()),
                                saveInto: ri!ASR_Requests.requestorName,
                                readOnly: true()
                              ),
                              a!textField(
                                label: &amp;quot;Requestor Email:&amp;quot;,
                                labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                                value: loggedInUser(),
                                saveInto: ri!ASR_Requests.requestorEmail,
                                readOnly: true(),
                                validations: {}
                              ),
                              a!dateTimeField(
                                label: &amp;quot;Requested On:&amp;quot;,
                                labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                                value: now(),
                                saveInto:  ri!ASR_Requests.createdOn, 
                                readOnly: true(),
                                validations: {}
                              )
                            }
                          )
                        }
                      ),
                      a!paragraphField(
                        label: &amp;quot;Email Addresses&amp;quot;,
                        labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                        placeholder: &amp;quot;Email Addresses should be one per line (can be pasted from Excel)&amp;quot;,
                        value: local!data.emailAddresses,
                        saveInto: {  
                          a!save(
                            local!integrationResult,
                            rule!ASR_bulkgetemployees(Emails: local!formattedEmailString)
                          ),
                          a!save(local!data.emailAddresses, save!value),
                          a!save( ri!ASR_Requests.emailAddresses, save!value)
                        },
                        refreshAfter: &amp;quot;KEYPRESS&amp;quot;,
                        height: &amp;quot;TALL&amp;quot;,
                        required: true,
                        requiredMessage: &amp;quot;Email Address is Required&amp;quot;,
                        validations:if(
                          (a!isNotNullOrEmpty(local!invalidEmails)),
                          &amp;quot;Emails must be in a valid format, and each email must be on a new line. &amp;quot;,
                          {}
                        )
                      )

                    },
                    style: &amp;quot;#134f5c&amp;quot;,
                    marginBelow: &amp;quot;STANDARD&amp;quot;
                  )
                }
              )
            }
          )
        }
      )
    },
    buttons: a!buttonLayout(
      primaryButtons: {
        a!buttonWidget_23r3(
          label: &amp;quot;Submit&amp;quot;,
          style: &amp;quot;PRIMARY&amp;quot;,
          submit: true,
          validate: true(),
          saveInto: {
            a!save(
              ri!ASR_Requests.requestorName,
              rule!GBL_displayUserFirstLast(loggedInUser())
            ),
            a!save(
              ri!ASR_Requests.requestorEmail,
              loggedInUser()
            ),
            a!save(ri!ASR_Requests.createdOn, now()),
            a!save(
              ri!ASR_Requests.requestStatus,
              cons!ASR_AUDIT_STATUS_TYPES[1]
            ),
            a!save(
              ri!ASR_Requests.requestType,
              cons!ASR_REQUEST_TYPE
            ),
            a!save(ri!ASR_Requests.isActive, true())

          },
          loadingIndicator: true()
        )
      },
      secondaryButtons: {
        a!buttonWidget_23r3(
          label: &amp;quot;Cancel&amp;quot;,
          style: &amp;quot;NORMAL&amp;quot;,
          submit: true,
          validate: false,
          value: true,
          saveInto: ri!cancel
        )
      }
    )
  )
)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is my interface code where i want to check the emailaddress validation first and then pass those mails to the integration without clicking on submit .can you please help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147821?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 14:06:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:01374c4e-c98c-4b43-8372-619f63b683f5</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="91720" url="~/discussions/f/user-interface/39025/how-to-call-integration-in-interface/147817"]&lt;strong&gt;rule!ASR_bulkgetemployees(Emails: local!formattedEmailString)&lt;/strong&gt;[/quote]
&lt;p&gt;You haven&amp;#39;t shown us what the configuration is for &amp;quot;local!formattedEmailString&amp;quot; so we would have no way of knowing what its value is or what error you&amp;#39;re getting.&lt;/p&gt;
&lt;p&gt;Have you verified its value is correct before the field&amp;#39;s &amp;quot;save&amp;quot; operation takes place?&amp;nbsp; What is its configuration?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147817?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 14:01:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ea6df8e2-dc35-4ad2-ba2b-604117d19b8b</guid><dc:creator>ZAINAB</dc:creator><description>&lt;p&gt;a!paragraphField(&lt;br /&gt; label: &amp;quot;Email Addresses&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;JUSTIFIED&amp;quot;,&lt;br /&gt; placeholder: &amp;quot;Email Addresses should be one per line (can be pasted from Excel)&amp;quot;,&lt;br /&gt; value: local!data.emailAddresses,&lt;br /&gt; saveInto: { &lt;br /&gt; a!save(&lt;br /&gt; local!integrationResult,&lt;br /&gt; &lt;strong&gt;rule!ASR_bulkgetemployees(Emails: local!formattedEmailString)&lt;/strong&gt;&lt;br /&gt; ),&lt;br /&gt; a!save(local!data.emailAddresses, save!value),&lt;br /&gt; a!save( ri!ASR_Requests.emailAddresses, save!value)&lt;br /&gt; },&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Getting warning for integration call ..it says invalid parameter .Can someone please help .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to call integration in interface</title><link>https://community.appian.com/thread/147631?ContentTypeID=1</link><pubDate>Tue, 29 Apr 2025 22:06:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa354752-060e-4a59-9bb7-01331c5082e9</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="91720" url="~/discussions/f/user-interface/39025/how-to-call-integration-in-interface/147625"]How can I pass&amp;nbsp; emailaddresses as&amp;nbsp; &amp;quot;test@test.com test2@test.com&amp;nbsp; .....&amp;quot;&amp;nbsp;to the integration [/quote]
&lt;p&gt;why not just concat them together with joinArray and a separator of &amp;quot; &amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>