<?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>Send user input task to a particular user based on hierarchy</title><link>https://community.appian.com/discussions/f/appian-community-edition/28745/send-user-input-task-to-a-particular-user-based-on-hierarchy</link><description>Hello everyone, 
 I have a scenario where if someone logs a request for new employee the request should go through multiple approvals 
 First: The first approval will be from the hierarchy manager 
 Second: From the HR team 
 Now my roadblock is how can</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Send user input task to a particular user based on hierarchy</title><link>https://community.appian.com/thread/113631?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 07:01:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e0149c87-1525-47d3-9b2b-08f8fdaa6dc6</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Others mentioned to use an expression rule to implement that logic. That&amp;#39;s the way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send user input task to a particular user based on hierarchy</title><link>https://community.appian.com/thread/113630?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 06:57:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7b6ea3b5-33c3-49ed-aa19-1e963522aa58</guid><dc:creator>aishwaryap0266</dc:creator><description>&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;Thank you for replying,&lt;/p&gt;
&lt;p&gt;I apologize for not specifying this earlier.&lt;/p&gt;
&lt;p&gt;So I have used the &lt;span&gt;&amp;quot;supervisor&amp;quot; field in a person&amp;#39;s Appian profile to store the hierarchy of each user.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Is there a way I can make use of this in the user input task so that when the logged in user submits a task it is assigned to the logged-in user&amp;#39;s specified &amp;quot;supervisor&amp;quot; only?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send user input task to a particular user based on hierarchy</title><link>https://community.appian.com/thread/113108?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 13:55:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c6f4d2bb-5b75-4d6f-9410-baa677de348b</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="188429" url="~/discussions/f/appian-community-edition/28745/send-user-input-task-to-a-particular-user-based-on-hierarchy"]how can I set the hierarchy for each employe and send the request dynamically to only their managers and not the whole manager group?[/quote]
&lt;p&gt;I second &amp;#39; suggestion above, but my immediate follow-up question here is, how are you storing these individual relationships?&amp;nbsp; As Stefan noted, you&amp;#39;ll need to track them somewhere in order for your system to procedurally trace from a user to their manager, etc.&lt;/p&gt;
&lt;p&gt;If each person is guaranteed to always have a distinctive (single) supervisor, you could use the &amp;quot;supervisor&amp;quot; field in a person&amp;#39;s Appian profile; other systems might create a relational DB that defines the user hierarchy from a user to one-or-many supervisors (this would be more complex but would allow a lot more flexibility in certain ways).&lt;/p&gt;
&lt;p&gt;But you haven&amp;#39;t specified what (if anything) you might already have set-up, which somewhat hinders our ability to provide meaningful answers to your question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send user input task to a particular user based on hierarchy</title><link>https://community.appian.com/thread/113107?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 13:49:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:46f3246c-c541-48b8-8a0a-bf9ef42f6d5c</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="92009" url="~/discussions/f/appian-community-edition/28745/send-user-input-task-to-a-particular-user-based-on-hierarchy/113076#113076"]I suggest you build a new application&amp;nbsp; instead of creating the users from Admin Console[/quote]
&lt;p&gt;I don&amp;#39;t know how this is a useful suggestion.&amp;nbsp; Firstly since it shouldn&amp;#39;t matter &lt;strong&gt;&lt;em&gt;at all&lt;/em&gt;&lt;/strong&gt;&lt;em&gt;&lt;/em&gt; whether or not accounts were created from the Admin Console or in a process, and secondly (mainly), someone who would ask such a question here will almost always be in a situation where &amp;quot;just create a new application&amp;quot; is not even &lt;em&gt;remotely&lt;/em&gt; feasible as a solution to their current issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send user input task to a particular user based on hierarchy</title><link>https://community.appian.com/thread/113106?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 13:47:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9fda9fd5-b23c-4fdc-a789-2da0741b3578</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="132000" url="~/discussions/f/appian-community-edition/28745/send-user-input-task-to-a-particular-user-based-on-hierarchy/113105#113105"]Here&amp;#39;s the great part, you code it separately as it&amp;#39;s own independent expression rule[/quote]
&lt;p&gt;Exactly what I came here to say - stick it in an expression rule, where you feed in one username (etc), and the rule spits out the appropriate user in return.&amp;nbsp; Assuming the current setup is done in such a way that you can use expression logic to take a username and figure out which Approval Manager to select (and if not, i&amp;#39;m not sure how or even if this is solvable anyway), that makes this VERY easy to test - just test on different usernames and make sure the results are all as expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send user input task to a particular user based on hierarchy</title><link>https://community.appian.com/thread/113105?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 13:36:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aadf00ce-b81e-42fb-8af1-1195d7dfe999</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/67/pastedimage1684762315858v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;On every User Input Task node there&amp;#39;s a place to use an expression to decide who the task is assigned to.&amp;nbsp; Make that as complicated as you want or need.&amp;nbsp; Here&amp;#39;s the great part, you code it separately as it&amp;#39;s own independent expression rule, then when it consistently generates the user object of the very person who should get assigned every time, then stick it in the PM.&amp;nbsp; It doesn&amp;#39;t need to involve groups at all.&amp;nbsp; It just needs to be the right user, however you want to define or store it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send user input task to a particular user based on hierarchy</title><link>https://community.appian.com/thread/113079?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 07:40:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:eb0ec288-76c9-40d4-8737-ab431d82f374</guid><dc:creator>Kriti Shaik</dc:creator><description>&lt;p&gt;Hi Aishwarya,&lt;/p&gt;
&lt;p&gt;I suggest you can manage the hierarchy by creating user groups for the manager&amp;#39;s and configuration as per your terms. Or you can write a rule to find the hierarchy manager for the Employee&amp;#39;s and by using script task you can assign it in PM. I think by Creating Groups for the Manager&amp;#39;s will solve your issue to be assigned as per hierarchy.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send user input task to a particular user based on hierarchy</title><link>https://community.appian.com/thread/113076?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 07:18:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d2a30016-a1c6-47d9-9d5e-9c1129fc4ed5</guid><dc:creator>Harsha</dc:creator><description>&lt;p&gt;Hi Aishwarya,&lt;/p&gt;
&lt;p&gt;In this case, I suggest you build a new application&amp;nbsp; instead of creating the users from Admin Console and use the smart services available to create user and deactivate user.&lt;br /&gt;In this Process Model, you can have the manager and HR approval to be kept.&lt;/p&gt;
&lt;p&gt;Once they approve, then only the Create User Smart service should be triggered and user should be created.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send user input task to a particular user based on hierarchy</title><link>https://community.appian.com/thread/113074?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 06:52:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7b58a49f-0951-4888-a1bb-86988392780a</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You will have to manage&amp;nbsp;this relationships somewhere. Either in the database, or the supervisor field in the user record.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>