<?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 put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/discussions/f/new-to-appian/37691/how-to-put-validation-on-pickerfieldusers-which-can-select-max-5-users</link><description>Hi all, 
 I have a requirement as: 
 I have 2 pickerfieldusers as A and B where A can select max 1 user and B can select max 5 user, requirement is when we select user in A then B cannot select that user which is already selected in A and should throw</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141588?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 16:22:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b8809dc2-00e0-47d8-bf19-fa7d561cbcc9</guid><dc:creator>appian.user</dc:creator><description>&lt;p&gt;but it is picking when im selecting though it will not send to database but for for user interface application should be user friendly to them so if there is any posibility to put validation then it would be great from user point of view&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141580?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 15:10:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8be42fbf-e255-495e-ab1a-61991756c32f</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;Since you are using picker, you should not be able to select same user multiple times&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141579?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 15:08:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:818572d2-53d0-49dd-9b7e-455be2926988</guid><dc:creator>appian.user</dc:creator><description>&lt;p&gt;can you please help me with the validation for additional assignee to not repeat same username as if we select-&lt;/p&gt;
&lt;p&gt;A, B, C ,C&lt;/p&gt;
&lt;p&gt;then on selection of C validation should throw&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141578?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 15:07:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:25b9cc0a-3908-4679-8042-d8930f457542</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;Glad to hear.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141577?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 15:06:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9721fd6d-4849-42c8-8205-5ac502fd49ce</guid><dc:creator>appian.user</dc:creator><description>&lt;p&gt;Thankyou soma it is now working with this:&lt;/p&gt;
&lt;p&gt;validations: {&lt;br /&gt; if(&lt;br /&gt; and(&lt;br /&gt; a!isNotNullOrEmpty(local!taskAdditionalAssignee),&lt;br /&gt; a!isNotNullOrEmpty(local!taskAssignee),&lt;br /&gt; contains(&lt;br /&gt; local!taskAdditionalAssignee,&lt;br /&gt; touser(local!taskAssignee)&lt;br /&gt; )),&lt;br /&gt; &amp;quot;Assignee cannot be added as additional assignee&amp;quot;,&lt;br /&gt; null&lt;br /&gt; ),&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141576?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 15:00:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5a7ec696-3438-43a8-a86d-24e3485925e3</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;What is value in&lt;/p&gt;
&lt;p&gt;l&lt;span&gt;ocal!taskAdditionalAssignee and&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;ri!record['recordType!{a6f5f29e-a89e-495a-afae-702df167aa19}RECT Record Tasks Sync.fields.{d0fec037-4f71-4d05-a7ef-766635d0ff13}taskAssignedTo']&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141574?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 14:52:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c9168628-deb5-4231-9225-d6b14d884d87</guid><dc:creator>appian.user</dc:creator><description>&lt;p&gt;still not throwing any validations-&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;validations: {&lt;br /&gt; if(&lt;br /&gt; and(&lt;br /&gt; a!isNotNullOrEmpty(local!taskAdditionalAssignee),&lt;br /&gt; a!isNotNullOrEmpty(local!taskAssignee),&lt;br /&gt; contains(&lt;br /&gt; local!taskAdditionalAssignee,&lt;br /&gt; touser(ri!record['recordType!{a6f5f29e-a89e-495a-afae-702df167aa19}RECT Record Tasks Sync.fields.{d0fec037-4f71-4d05-a7ef-766635d0ff13}taskAssignedTo'])&lt;br /&gt; )),&lt;br /&gt; &amp;quot;Assignee cannot be added as additional assignee&amp;quot;,&lt;br /&gt; null&lt;br /&gt; ),&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried wrapping up of both with touser&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141573?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 14:46:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2a55f51f-b0af-415d-8955-e19a44724e90</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;You can use touser()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141572?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 14:45:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e0618f12-369c-4e46-9bf3-5d85c1921892</guid><dc:creator>appian.user</dc:creator><description>&lt;p&gt;is there any way we can convert text type to user type?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141571?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 14:44:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:20d80246-d077-4e45-bec0-2fec0ec4935c</guid><dc:creator>appian.user</dc:creator><description>&lt;p&gt;not throwing any validation now-&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;validations: {&lt;br /&gt; if(&lt;br /&gt; and(&lt;br /&gt; a!isNotNullOrEmpty(local!taskAdditionalAssignee),&lt;br /&gt; a!isNotNullOrEmpty(local!taskAssignee),&lt;br /&gt; contains(&lt;br /&gt; touniformstring(local!taskAdditionalAssignee),&lt;br /&gt; touniformstring(ri!record['recordType!{a6f5f29e-a89e-495a-afae-702df167aa19}RECT Record Tasks Sync.fields.{d0fec037-4f71-4d05-a7ef-766635d0ff13}taskAssignedTo'])&lt;br /&gt; )),&lt;br /&gt; &amp;quot;Assignee cannot be added as additional assignee&amp;quot;,&lt;br /&gt; null&lt;br /&gt; ),&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141570?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 14:41:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:da8f9962-f240-44af-abb7-f95b07bbcb57</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;Try wrapping both variables that you are comparing with touniformstring()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141568?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 14:29:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ae3730da-8d9d-4c65-b867-db1f7f2360c5</guid><dc:creator>appian.user</dc:creator><description>&lt;p&gt;error is something like this:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Interface Definition: Expression evaluation error at function &amp;#39;contains&amp;#39; [line 275]: Invalid types, can only act on data of the same type (User, Text)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141563?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 14:13:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0e880f95-ab30-4ce2-b782-edc32a33329d</guid><dc:creator>appian.user</dc:creator><description>&lt;p&gt;I have added touniformstring beacuse it was throwing error as-&lt;/p&gt;
&lt;p&gt;local!taskAdditionalAssignee as user type and&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;span&gt;(ri!record['recordType!{a6f5f29e-a89e-495a-afae-702df167aa19}RECT Record Tasks Sync.fields.{d0fec037-4f71-4d05-a7ef-766635d0ff13}taskAssignedTo']) as text&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;if you have any suggestion please let me know&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141562?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 14:10:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4ccd66d9-06f8-4f10-8fbd-0ac5f18f362d</guid><dc:creator>appian.user</dc:creator><description>&lt;p&gt;thankyou so much for your help&lt;br /&gt;please help me how can I put validations as it is not woking by this&amp;nbsp;&lt;/p&gt;
&lt;p&gt;validations: {&lt;br /&gt; if(&lt;br /&gt; and(&lt;br /&gt; a!isNotNullOrEmpty(local!taskAdditionalAssignee),&lt;br /&gt; a!isNotNullOrEmpty(local!taskAssignee),&lt;br /&gt; contains(&lt;br /&gt; touniformstring(local!taskAdditionalAssignee),&lt;br /&gt; (ri!record['recordType!{a6f5f29e-a89e-495a-afae-702df167aa19}RECT Record Tasks Sync.fields.{d0fec037-4f71-4d05-a7ef-766635d0ff13}taskAssignedTo'])&lt;br /&gt; )),&lt;br /&gt; &amp;quot;Assignee cannot be added as additional assignee&amp;quot;,&lt;br /&gt; null&lt;br /&gt; ),&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141540?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 09:17:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e2f44404-c2e9-4d70-87e3-d8aed6c26aa2</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;Use a local variable to store all the selected users as a list. When you write to record, use joinarray(localVariable,&amp;quot;,&amp;quot;)&lt;/p&gt;
&lt;p&gt;When you load the value from record use&amp;nbsp;&lt;/p&gt;
&lt;p&gt;local!taskAdditionalAssignee: split(ri!record[recordField],&amp;quot;,&amp;quot;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141537?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 08:54:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7eac223e-7ba7-4554-9fc3-a4229f4d23ce</guid><dc:creator>appian.user</dc:creator><description>&lt;p&gt;Can you please suggest how should I take new variable and store it as additional assignee as I have store in this way which is not correct&amp;nbsp;&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/62/pastedimage1728550440524v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141535?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 08:27:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:199bc5e9-7880-4a25-98be-777ecd30d7f1</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;Use the variable to store the list of user selected in comma separated values.&lt;/p&gt;
&lt;p&gt;Use joinarray() while storing and use split() while bring it back inside Appian.&lt;/p&gt;
&lt;p&gt;It will be stored like userA,userB,userC,userD,userE&lt;/p&gt;
&lt;p&gt;After splitting it will list of 5 text&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141534?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 08:24:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2e9c4016-e96d-4d63-9de6-3ad88dc8f62f</guid><dc:creator>appian.user</dc:creator><description>&lt;p&gt;field is already added in existing recordtype type and databse as well as additionalassignee wihich is text type but it h&lt;/p&gt;
&lt;p&gt;but it has to hold max 5 user when selecting from pickerfieldusers&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/62/pastedimage1728548630652v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141531?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 08:01:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:229a2f92-8738-488b-8750-7f4ab9b2048d</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;I would advise you to create a new record called additionalAssignees, which will have one to many relationship with the existing record&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141530?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 07:59:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f2306d64-b445-4b82-bcd8-4b8a1aa9b3e3</guid><dc:creator>appian.user</dc:creator><description>&lt;p&gt;is it possible that we can&amp;nbsp;exclude the user in B which is&amp;nbsp; already selected in A?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141529?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 07:57:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:66637ecf-8bc2-455d-82b5-e06bb1bb88ab</guid><dc:creator>appian.user</dc:creator><description>&lt;p&gt;Thanks for&amp;nbsp;your response but still not fulfilling my need as I have to store max 5 user but at backend level , field that should hold atleast 5 user is of text type.&lt;br /&gt;is it possible my field is of text type and i have to store 5 user ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141528?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 07:55:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a24fc834-8acf-47b0-b492-c466caf6dd8f</guid><dc:creator>appian.user</dc:creator><description>&lt;p&gt;thankyou for your responce but still it is not fullfilling the requirement and i have 1 more question -&lt;/p&gt;
&lt;p&gt;If I have to choose max 5 user from pickerfielduser&amp;nbsp;then at backened level what should be data type for that particular field as in my case data type is text and I m using recordtype to store data&amp;nbsp;&lt;/p&gt;
&lt;p&gt;for reference:&amp;nbsp; this field should hold atleast 5 user after submiting&amp;nbsp;&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/62/pastedimage1728546863484v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141505?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 06:29:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e1ade06e-2df4-47b0-b868-88d8e8ab7844</guid><dc:creator>Yogi Patel</dc:creator><description>&lt;p&gt;It&amp;#39;s better not to show the previously selected user(user selected in pickerFieldUsers field A) in the second pickerFieldUsers field (i.e. B).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141502?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 06:14:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d8560906-7c22-4917-beab-bb4b975daee2</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;Try including null check of the two variables&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;if(
  and(
    a!isNotNullOrEmpty(local!taskAdditionalAssignee),
    a!isNotNullOrEmpty(local!usersOfPickerB),
    contains(
      local!taskAdditionalAssignee,
      ri!record[&amp;#39;recordType!{a6f5f29e-a89e-495a-afae-702df167aa19}.fields.{d0fec037-4f71-4d05-a7ef-766635d0ff13}&amp;#39;]
    )
  ),
  &amp;quot;Assignee cannot be added as additional assignee&amp;quot;,
  null
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to put validation on pickerfieldusers which can select max 5 users</title><link>https://community.appian.com/thread/141493?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 05:10:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:41341fe2-ddbf-4e24-b671-bdf0a2fae47c</guid><dc:creator>baji mekala</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/asfiyay2840"&gt;appian.user&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you try this logic it may help you&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
  a!pickerFieldUsers(
    label: &amp;quot;A&amp;quot;,
    labelPosition: &amp;quot;ABOVE&amp;quot;,
    maxSelections: 1,
    value: ri!inputA,
    saveInto: ri!inputA,
    validations: {}
  ),
  a!pickerFieldUsers(
    label: &amp;quot;B&amp;quot;,
    labelPosition: &amp;quot;ABOVE&amp;quot;,
    maxSelections: 4,
    value: ri!inputB,
    saveInto: ri!inputB,
    validations: {
      if(
        and(
          a!isNotNullOrEmpty(ri!inputA),
          a!isNotNullOrEmpty(ri!inputB),
          contains(ri!inputB, ri!inputA),
          
        ),
        &amp;quot;Can not select the A user &amp;quot;,
        {}
      )
    }
  )
}&lt;/pre&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/62/Screenshot-2024_2D00_10_2D00_10-103751.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>