<?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 compare entered input emailaddresses and the api emailaddresses</title><link>https://community.appian.com/discussions/f/process/39383/how-to-compare-entered-input-emailaddresses-and-the-api-emailaddresses</link><description>Requirement is I will be entering emailaddresses on UI and it will be passed to the integration and the integration will return the emailAddresses with GUIDs . If any emailaddress is missing from the response which we entered then it must show that emailaddress</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to compare entered input emailaddresses and the api emailaddresses</title><link>https://community.appian.com/thread/149752?ContentTypeID=1</link><pubDate>Wed, 09 Jul 2025 16:30:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d07751a7-a5d5-4472-96de-ca97a2a9b44b</guid><dc:creator>ZAINAB</dc:creator><description>&lt;p&gt;I got the issue , i guess in EmailPV it is passing all emailaddress as one string that&amp;#39;s the reason we are getting all the valid &amp;amp; invalid adress in output&lt;br /&gt;&lt;br /&gt;Please suggest how to pass emailaddress seperately as each string&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/14/pastedimage1752078533058v2.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to compare entered input emailaddresses and the api emailaddresses</title><link>https://community.appian.com/thread/149750?ContentTypeID=1</link><pubDate>Wed, 09 Jul 2025 16:01:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7c121313-2fcf-491c-944e-01bd3063e24f</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="91720" url="~/discussions/f/process/39383/how-to-compare-entered-input-emailaddresses-and-the-api-emailaddresses/149749"]For expression rule ,doesn&amp;#39;t&amp;nbsp; it required to call data from DB ?[/quote]
&lt;p&gt;Absolutely not - expression rules can handle any arbitrary input data, almost exactly like a script task in a process model would (but much easier to edit and test).&amp;nbsp; You would just pass in your PV data and have it do whatever complex processing you need, and save the output to a PV (just like you do in your script task).&lt;/p&gt;
&lt;p&gt;Have you taken the online Appian training?&amp;nbsp; Knowing how to use expression rules is ABSOLUTELY CRITICAL in effective Appian development.&lt;/p&gt;
[quote userid="91720" url="~/discussions/f/process/39383/how-to-compare-entered-input-emailaddresses-and-the-api-emailaddresses/149749"]how can I create expressionrule[/quote]
&lt;p&gt;various ways - the &amp;quot;official&amp;quot; way is you go to your application object and click &amp;quot;create&amp;quot; -&amp;gt; &amp;quot;expression rule&amp;quot;.&amp;nbsp; However for quick testing you can create a new/unsaved expression rule simply by going to &amp;quot;yourenvironmenturl.com&lt;strong&gt;&lt;em&gt;/suite/design/rule&lt;/em&gt;&lt;/strong&gt;&amp;quot;, which will load the (blank) expression rule editor.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/pastedimage1752076826558v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to compare entered input emailaddresses and the api emailaddresses</title><link>https://community.appian.com/thread/149749?ContentTypeID=1</link><pubDate>Wed, 09 Jul 2025 15:43:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4dd2911b-a131-4f9c-9683-a05fc3cafc60</guid><dc:creator>ZAINAB</dc:creator><description>&lt;p&gt;For expression rule ,doesn&amp;#39;t&amp;nbsp; it required to call data from DB ?please let me know&amp;nbsp; how can I create expressionrule and how to pass those process variable&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to compare entered input emailaddresses and the api emailaddresses</title><link>https://community.appian.com/thread/149746?ContentTypeID=1</link><pubDate>Wed, 09 Jul 2025 15:21:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:20df5ebc-4323-4d32-bd18-7463bdf9f994</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="91720" url="~/discussions/f/process/39383/how-to-compare-entered-input-emailaddresses-and-the-api-emailaddresses/149744"]If i create expressionrule then we would need data to be stored but as per the requirement it shold be stored only when there is no invalid emails[/quote]
&lt;p&gt;I&amp;#39;m not sure what you mean.&amp;nbsp; An expression rule doesn&amp;#39;t &amp;quot;store&amp;quot; anything that the process instance isn&amp;#39;t already storing.&amp;nbsp; Your expression rule should mirror (almost exactly) the code in your script task (only) and accept the email list and the JSON list as inputs, and should output only your &amp;quot;invalid email address&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to compare entered input emailaddresses and the api emailaddresses</title><link>https://community.appian.com/thread/149744?ContentTypeID=1</link><pubDate>Wed, 09 Jul 2025 14:36:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:188f5352-80b0-472b-afb1-db2481349b58</guid><dc:creator>ZAINAB</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!data:ri!Tasr_Requests,
  local!rawEmails: ri!Tasr_Requests.emailAddresses,
  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: a!json({joinarray(local!individualEmails, &amp;quot;,&amp;quot;)}),*/

  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;,
    {}
  ),
  
 
  local!integrationResult:a!refreshVariable(
    value:    if(
    a!isNullOrEmpty(local!invalidEmails),
    rule!Tasr_bulkgetemployees(
      emails:local!formattedEmailString,
      onSuccess:{},
      onError:{}
    ),
    {},
  ),
  refreshalways: true()
  ),
  
  a!formLayout_25r1(
    label: &amp;quot;Production Validation 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!Tasr_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!Tasr_Requests.startDate, save!value)
                                },
                                required: true,
                                requiredMessage: &amp;quot;Start Date is Required&amp;quot;,
                                validations: rule!Tasr_startDateValidation(ri!Tasr_Requests.startDate)
                              ),

                              a!dateField(
                                label: &amp;quot;End Date&amp;quot;,
                                labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                                value: ri!Tasr_Requests.endDate,
                                saveInto: {
                                  a!save(local!data.endDate, save!value),
                                  a!save(ri!Tasr_Requests.endDate, save!value)
                                },
                                required: true,
                                requiredMessage: &amp;quot;End Date is Required&amp;quot;,
                                validations: rule!Tasr_endDateValidation(
                                  ri!Tasr_Requests.startDate,
                                  ri!Tasr_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!Tasr_Requests.requestorName,
                                readOnly: true()
                              ),
                              a!textField(
                                label: &amp;quot;Requestor Email:&amp;quot;,
                                labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                                value: loggedInUser(),
                                saveInto: ri!Tasr_Requests.requestorEmail,
                                readOnly: true(),
                                validations: {}
                              ),
                              a!dateTimeField(
                                label: &amp;quot;Requested On:&amp;quot;,
                                labelPosition: &amp;quot;JUSTIFIED&amp;quot;,
                                value: now(),
                                saveInto:  ri!Tasr_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!data.emailAddresses, save!value),
                          a!save( ri!Tasr_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;,
                          {}
                        )
                      ),
                      a!cardLayout(
                        contents: {
                          /*a!richTextDisplayField(*/
                            /*labelPosition: &amp;quot;COLLAPSED&amp;quot;,*/
                            /*value: {*/
                              /*a!richTextIcon(*/
                                /*icon: &amp;quot;info-circle&amp;quot;,*/
                                /*caption:&amp;quot;&amp;quot;,*/
                                /*color: &amp;quot;#0000ff&amp;quot;,*/
                                /*size: &amp;quot;MEDIUM&amp;quot;*/
                              /*),*/
                              a!textField(
                               label: &amp;quot;error&amp;quot;,
                               value: ri!InvalidEmail,
                                )
                              
                            },
                            align: &amp;quot;CENTER&amp;quot;,
                        showWhen: ri!HasError=true(),
                        style: &amp;quot;INFO&amp;quot;,
                        marginAbove: &amp;quot;NONE&amp;quot;,
                        marginBelow: &amp;quot;LESS&amp;quot;,
                        accessibilityText: &amp;quot;Information message&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!TASR_Requests.emailAddresses,local!formattedEmailString),
            a!startProcess(
              processmodel:cons!Tasr_WRITE_REQUESTS,
              processParameters: {
                Emails:local!formattedEmailString
              },
                      
            ),
            a!save(
              ri!Tasr_Requests.requestorName,
              rule!GBL_displayUserFirstLast(loggedInUser())
            ),
            a!save(
              ri!Tasr_Requests.requestorEmail,
              loggedInUser()
            ),
            a!save(ri!Tasr_Requests.createdOn, now()),
            a!save(
              ri!Tasr_Requests.requestStatus,
              cons!Tasr_AUDIT_STATUS_TYPES[1]
            ),
            a!save(
              ri!Tasr_Requests.requestType,
              cons!Tasr_REQUEST_TYPE
            ),
            a!save(ri!Tasr_Requests.isActive, true()),
            /*a!save(ri!Tasr_Requests.employeeIDs,index(ri!Result.body,&amp;quot;values&amp;quot;,null()))*/

          },
          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;My interface code &amp;amp; processmodel&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/14/pastedimage1752071690071v1.png" /&gt;&lt;br /&gt;&lt;br /&gt;If i create expressionrule then we would need data to be stored but as per the requirement it shold be stored only when there is no invalid emails . if any invalid emails then again show it on UI (3rd Xor)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to compare entered input emailaddresses and the api emailaddresses</title><link>https://community.appian.com/thread/149743?ContentTypeID=1</link><pubDate>Wed, 09 Jul 2025 14:04:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:37191ff7-6025-46df-96e1-9fc052bb3391</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;You should create it as an Expression Rule (that you will then call from your process script task) and recreate the inputs and test it - that&amp;#39;s far easier than trying it directly in a process and struggling to understand why it fails in a running process.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Feel free to post the code and your test input values here if you have a hard time getting it working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to compare entered input emailaddresses and the api emailaddresses</title><link>https://community.appian.com/thread/149742?ContentTypeID=1</link><pubDate>Wed, 09 Jul 2025 13:47:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:097c956a-5eb7-42ba-baf8-bc50b31fc783</guid><dc:creator>ZAINAB</dc:creator><description>&lt;p&gt;I tried it but it is showing correct emails also in invalidemails&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to compare entered input emailaddresses and the api emailaddresses</title><link>https://community.appian.com/thread/149739?ContentTypeID=1</link><pubDate>Wed, 09 Jul 2025 13:02:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:73485218-7595-46c7-b82a-6ef8b5e98db4</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="91720" url="~/discussions/f/process/39383/how-to-compare-entered-input-emailaddresses-and-the-api-emailaddresses/149737"]contains( pv!JsonPv, fv!item ),[/quote]
&lt;p&gt;Why would &amp;quot;pv!JsonPv&amp;quot; contain the email address?&amp;nbsp; pv!JsonPv is a map, not a string.&amp;nbsp; Did you try &amp;quot;contains(pv!JsonPv.emailAddress, fv!item)&amp;quot;?&amp;nbsp; My example code above clearly showed that the &amp;quot;contains()&amp;quot; call should check the list of map properties, not the map itself.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/14/pastedimage1752066143870v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to compare entered input emailaddresses and the api emailaddresses</title><link>https://community.appian.com/thread/149737?ContentTypeID=1</link><pubDate>Wed, 09 Jul 2025 12:56:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9c697a8-f5f7-4b18-aba5-ac2a52bc1be4</guid><dc:creator>ZAINAB</dc:creator><description>&lt;p&gt;&lt;br /&gt;a!flatten(a!forEach(&lt;br /&gt; pv!EmailPV, ---TEXT FIELD&lt;br /&gt; if(&lt;br /&gt; contains( pv!JsonPv, fv!item ), --JSONPV -- MAP&lt;br /&gt; {},&lt;br /&gt; fv!item&lt;br /&gt; )&lt;br /&gt;))&lt;/p&gt;
&lt;p&gt;Getting the below error in script task .can you please help&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/14/pastedimage1752065537928v1.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/14/pastedimage1752065760388v2.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to compare entered input emailaddresses and the api emailaddresses</title><link>https://community.appian.com/thread/149720?ContentTypeID=1</link><pubDate>Tue, 08 Jul 2025 17:46:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2874c4ff-ed0f-408a-af23-cf4e92e11322</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;So in this case you simply need to adjust where and how you filter.&amp;nbsp; Assuming you have access to the original list of email addresses as well as the API response, you simply iterate through all original email addresses and check whether that address was mentioned in the API response values, and if not, return it as an &amp;quot;invalid&amp;quot; one.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;a!localVariables(
  local!initialEmailAddressList: {
    &amp;quot;test1@test.com&amp;quot;,
    &amp;quot;test2@test.com&amp;quot;,
    &amp;quot;testInvalid@test.com&amp;quot;,
    &amp;quot;test3@test.com&amp;quot;
  },
  
  local!simulatedApiFeedback: {
    a!map(
      email: &amp;quot;test1@test.com&amp;quot;,
      uuid: &amp;quot;asdf1234QWER&amp;quot;
    ),
    a!map(
      email: &amp;quot;test2@test.com&amp;quot;,
      uuid: &amp;quot;asdf1234QWER&amp;quot;
    ),
    a!map(
      email: &amp;quot;test3@test.com&amp;quot;,
      uuid: &amp;quot;asdf1234QWER&amp;quot;
    )
  },
  
  /* get any invalid email addresses by comparing the original list with the API feedback list */
  a!flatten(a!forEach(
    local!initialEmailAddressList,
    if(
      contains( local!simulatedApiFeedback.email, fv!item ),
      {},
      fv!item
    )
  ))
)&lt;/pre&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/14/pastedimage1751996808434v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to compare entered input emailaddresses and the api emailaddresses</title><link>https://community.appian.com/thread/149719?ContentTypeID=1</link><pubDate>Tue, 08 Jul 2025 16:24:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1966782d-2758-445d-b379-31b9c8d70cf5</guid><dc:creator>ZAINAB</dc:creator><description>&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;a href="/members/mikes0011"&gt;Mike Schmitt&lt;/a&gt;&amp;nbsp;On UI for suppose I entered the emailaddress as &lt;a id="" href="mailto:test@test.com"&gt;test@test.com&lt;/a&gt;&amp;nbsp;and &lt;a id="" href="mailto:test2@test.com"&gt;test2@test.com&lt;/a&gt;&amp;nbsp;then it will be passed to the integration if the response if it doesn&amp;#39;t returned the value for 2nd entered emailaddress (&lt;a id="" href="mailto:test2@test.com"&gt;test2@test.com&lt;/a&gt;) then It should be shown on UI as invalid emailaddress&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Response of API will be like below only for the correct mailaddress&lt;br /&gt;&lt;br /&gt;&amp;quot;values&amp;quot;&lt;/span&gt;&lt;span&gt;: [&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;quot;id&amp;quot;&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;&amp;quot;50363345-b494-ec11-8131-0050569773df&amp;quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;quot;emailAddress&amp;quot;&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;&amp;quot;test@test.com&amp;quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;]&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to compare entered input emailaddresses and the api emailaddresses</title><link>https://community.appian.com/thread/149718?ContentTypeID=1</link><pubDate>Tue, 08 Jul 2025 16:18:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b8017751-8ce7-4e43-872d-06589cd389fc</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Then you can replace the code in line 4 to check for any condition you need.&amp;nbsp; I&amp;#39;m not exactly sure what you&amp;#39;re saying you need, without some more detailed context and/or example outputs and logic, but it should be pretty simple to check each return line item for any condition you want and filter what you need it to.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to compare entered input emailaddresses and the api emailaddresses</title><link>https://community.appian.com/thread/149716?ContentTypeID=1</link><pubDate>Tue, 08 Jul 2025 14:59:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e4dcf097-79b9-4cbd-888c-463d803a93ce</guid><dc:creator>ZAINAB</dc:creator><description>&lt;p&gt;&lt;a href="/members/mikes0011"&gt;Mike Schmitt&lt;/a&gt;&amp;nbsp;It is filtering correct emailaddress instead id incorrect emails .In API response i will get GUIDs of correct emailaddress . I need to show the one&amp;#39;s without GUIDs on UI&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to compare entered input emailaddresses and the api emailaddresses</title><link>https://community.appian.com/thread/149528?ContentTypeID=1</link><pubDate>Wed, 02 Jul 2025 06:45:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:00d970e7-64ff-4c0d-ac2f-4172ce7ddc7f</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;Seems like integration type is &amp;quot;get&amp;quot;. If Yes, i don&amp;#39;t think you need extra process instance. you can call the integration in your interface and you can do the similar calculation as Mike mentioned above to search the output.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to compare entered input emailaddresses and the api emailaddresses</title><link>https://community.appian.com/thread/149510?ContentTypeID=1</link><pubDate>Tue, 01 Jul 2025 13:48:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:68031c93-a175-481b-b410-2071d6b60d6b</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;a!forEach(
  pv!jsonPv,
  if(
    contains(pv!emailPv, fv!item.emailAddress),
    {},
    &amp;quot;This one is invalid: &amp;quot; &amp;amp; fv!item.emailAddress
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>