<?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>Conditional show of Accept, Re-assign buttons</title><link>https://community.appian.com/discussions/f/general/38416/conditional-show-of-accept-re-assign-buttons</link><description>Hi, 
 If a user is part of 2 groups: Assistant and Manager. 
 Same user who submitted a task as an Assistant shouldn&amp;#39;t be able to access next task in the flow as Manager. 
 Is there a way not to show/disable the accept and reassign buttons when the same</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Conditional show of Accept, Re-assign buttons</title><link>https://community.appian.com/thread/145030?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 08:13:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:341ef2d6-54dd-441e-a0fb-09d97782e60f</guid><dc:creator>keerthik0010</dc:creator><description>&lt;p&gt;Thanks Mike, I had same thoughts if OOTB not possible to disable the buttons.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I had implemented the same, it works for business.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditional show of Accept, Re-assign buttons</title><link>https://community.appian.com/thread/144976?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2025 15:09:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9f86e3c0-2f42-44fa-8636-613b317661df</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Pass the username of the previous user into the Manager Review task.&amp;nbsp; You won&amp;#39;t be able to disable the &amp;quot;accept&amp;quot; button, but you can do on-form checks to check whether the task&amp;#39;s viewer is the same as the previous user, and display a validation message alerting them that they are not allowed to perform that review.&lt;br /&gt;&lt;br /&gt;Then they could either use the OOB &amp;quot;reject&amp;quot; button or, as a special case, you could build a custom Submit Button saying something like &amp;quot;send back to reviewer group&amp;quot;, which would simply exit the task and loop immediately back to it allowing the original group assignment to take hold again regardless of the original instance&amp;#39;s accepted status.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditional show of Accept, Re-assign buttons</title><link>https://community.appian.com/thread/144974?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2025 14:06:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:534a5f68-7780-4728-b404-0ae8013d0e00</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Then you might have to reconsider making these users managers in respect to this process model.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditional show of Accept, Re-assign buttons</title><link>https://community.appian.com/thread/144966?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2025 08:15:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3cf7bb45-89df-4c32-b376-79417ec64a02</guid><dc:creator>keerthik0010</dc:creator><description>&lt;p&gt;Hi Stefan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks for response.&lt;/p&gt;
&lt;p&gt;Using process report. Tasks which user member of specific groups and also if he is manager. He is manager of both tasks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditional show of Accept, Re-assign buttons</title><link>https://community.appian.com/thread/144965?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2025 07:31:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:48639a6b-5cda-418c-99f4-9ac47c25bc50</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;How is this &amp;quot;Manager Task List&amp;quot; implemented?&lt;/p&gt;
&lt;p&gt;Background: Process models have the security role &amp;quot;Manager&amp;quot; which allows a person in that role to reassign any task to anyone.&lt;/p&gt;
&lt;p&gt;So, there is no specific way to disable these buttons, but you can use the task assignment, task management and model security to set this up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditional show of Accept, Re-assign buttons</title><link>https://community.appian.com/thread/144963?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2025 07:13:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cfb2410e-4d85-4bb9-b243-fcd7e547c731</guid><dc:creator>keerthik0010</dc:creator><description>&lt;p&gt;Thanks all for your response.&lt;/p&gt;
&lt;p&gt;Excluded restriction is already there in the system. In fact same user can&amp;#39;t be assigned to the next task.&lt;/p&gt;
&lt;p&gt;Actual issue:&lt;/p&gt;
&lt;p&gt;We have a Manager task list(customized) which shows all others tasks(assigned to other users and actual group tasks).&lt;/p&gt;
&lt;p&gt;Since the user is part of the group he still can see the task via the customized list. This is implemented if any user who has assigned task and goes OOO, then other users can pick it up.&lt;/p&gt;
&lt;p&gt;The requirement is to disable the accept, reject and re-assign buttons if the same user who has dual access (access to both the tasks) should be restricted to claim the Manager task/2nd task (if he already submitted&amp;nbsp;Assistant/1st task) and show him an error/warning message.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note: We&amp;nbsp;shouldn&amp;#39;t remove the task from the customized task list is the ask from business.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditional show of Accept, Re-assign buttons</title><link>https://community.appian.com/thread/144839?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2025 09:05:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d64a4464-00b1-4d44-8dc8-19e8aaeb3bf8</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;This is a good example for using the set function difference().&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;difference(
  touser(a!groupMembers(&amp;lt;YOUR_GROUP&amp;gt;).data),
  &amp;lt;USER_SUBMITTED_THE_FIRST_TASK&amp;gt;
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditional show of Accept, Re-assign buttons</title><link>https://community.appian.com/thread/144837?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2025 08:04:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9819a713-ed96-4f60-9eb2-19a5d3148286</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;This should work fine if you can remove the user who has completed the 1st task (Save the tp!owner in a process variable from the 1st UIT output) from the list of users in the assignment of the task followed by the first one. below is a code you can reuse for that purpose.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!groupMembers: a!groupMembers(group: cons!YOUR_GROUP_CONSTANT).data,
  remove(
    local!groupMembers,
    wherecontains(
      tostring(pv!ownerOne),
      touniformstring(local!groupMembers)
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditional show of Accept, Re-assign buttons</title><link>https://community.appian.com/thread/144834?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2025 07:21:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7e0b5e92-16cd-4dcb-a344-379e214d9145</guid><dc:creator>venkatrea696188</dc:creator><description>[quote userid="238566" url="~/discussions/f/general/38416/conditional-show-of-accept-re-assign-buttons/144833"]if I exclude the person(previous task performer) from Manager group, does that only impact that specific instance?[/quote]
&lt;p&gt;Yes, Save the tp!owner of Assistant task in process variable and exclude him in Manager task&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditional show of Accept, Re-assign buttons</title><link>https://community.appian.com/thread/144833?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2025 07:17:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:21c63c83-7fd0-47b2-9c6e-88a864f18224</guid><dc:creator>keerthik0010</dc:creator><description>&lt;p&gt;2nd Task should go to Manager group, if I exclude the person(previous task performer) from Manager group, does that only impact that specific instance?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditional show of Accept, Re-assign buttons</title><link>https://community.appian.com/thread/144832?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2025 07:02:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a3683bf8-4e9f-4a5b-949a-c8a84210e019</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;Depends on how you designing your process model , I mean these tasks going to be in Same Process model?? If Yes, remove chaining and exclude the person who did the task before in the assignment tab .If it&amp;#39;s Database centric you can follow the steps i mentioned above .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditional show of Accept, Re-assign buttons</title><link>https://community.appian.com/thread/144831?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2025 06:59:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e7b5d997-36ae-4096-b62b-82ae14cf868e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You can easily use the OOTB assignment feature to do so. Just exclude the person completing the first task from assignment of the next one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditional show of Accept, Re-assign buttons</title><link>https://community.appian.com/thread/144828?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2025 06:53:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f33056de-0e1e-4409-9529-cf6e3a30f971</guid><dc:creator>keerthik0010</dc:creator><description>&lt;p&gt;Thanks Venkat, you are right about the requirement.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have any design yet. Is there any OOTB options to conditionally restrict while accepting/opening task and show error message?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Conditional show of Accept, Re-assign buttons</title><link>https://community.appian.com/thread/144826?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2025 06:46:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f132e1eb-0101-4514-8239-ca2ea91b19cc</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;It can be done ,Can we know where you got stuck&amp;nbsp; and the current design you have ?? In general we save Details related Assistant task. We use these details to validate against loggedinuser on manager task . If the current logged in user and the person who did the Assistant task are same .We will restrict him on opening/Completing manager task .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>