<?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>Main task followed by related tasks using Process model</title><link>https://community.appian.com/discussions/f/process/34650/main-task-followed-by-related-tasks-using-process-model</link><description>Hi team, I have a use case where I need to create tasks for users, but there is a parent-child relationship between tasks. In one interface, I will collect the details of the task, and users can add additional tasks to an already existing task. So, a</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Main task followed by related tasks using Process model</title><link>https://community.appian.com/thread/133757?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2024 17:18:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3a4bef8e-9ef1-4681-a14b-3c55ef74d52a</guid><dc:creator>nksnksnks</dc:creator><description>&lt;p&gt;Yes Stefan they are real tasks. Now I found a solution. In the table I will have a column that holds the relationship between parent-child ( like a foreign key). By using that I can identify whether it is a Parent or child. another one Boolean column I can identify task is created or not.&amp;nbsp;If I trigger a startprocess MNI, all instances will execute at the same time, so using these I can control the task creation, once parent task is created the column will become true, so that child can proceed, until that time it will wait (few seconds)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Main task followed by related tasks using Process model</title><link>https://community.appian.com/thread/133756?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2024 17:11:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:70d75b0b-a9a0-4a8a-b162-b5a705acbbad</guid><dc:creator>nksnksnks</dc:creator><description>&lt;p&gt;Hi Guys,&lt;br /&gt;&lt;br /&gt;The issue is solved. I will query the data from the task table and pass it for task creation using startprocess MNI and if a task doesn&amp;#39;t have any FK relation it will proceed for task creation, else(child) it will for certain until it&amp;#39;s parent task created.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Main task followed by related tasks using Process model</title><link>https://community.appian.com/thread/133273?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 11:14:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:20d59a2c-5a79-4e75-b3d9-fdaca14bfd75</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;&lt;span&gt;You&amp;#39;re right, using a subprocess can introduce performance overhead and potential pausing issues. &lt;br /&gt;Try this&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Task Details Table:&lt;br /&gt;task_id (Primary Key)&lt;br /&gt;parent_task_id (Foreign Key referencing the parent task, can be null for the parent task itself)&lt;br /&gt;order (Numeric field to specify the order of child tasks, 1 for the first child, 2 for the second, etc.)&lt;br /&gt;&lt;br /&gt;Store tasks in a table with parent_task_id and an order field.&lt;br /&gt;Use start process MNI daily to: Query tasks, sort by parent_task_id then order.&lt;br /&gt;Loop through sorted data: If parent_task_id is null, create parent task.&lt;br /&gt;Else, create child task with the parent ID.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Main task followed by related tasks using Process model</title><link>https://community.appian.com/thread/133272?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 11:08:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ee477f44-20f8-453e-8934-bb245cb5d1e5</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I would like to understand the purpose of&amp;nbsp;this parent-to-many children task&amp;nbsp;concept first. Are these child tasks really tasks, with their own due date, escalations, exceptions and life-cycle? Or is this more like a to-do list for the parent task?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Main task followed by related tasks using Process model</title><link>https://community.appian.com/thread/133271?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 11:03:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:14ba206f-3e24-46ef-b148-33895c68a641</guid><dc:creator>Karumuru Abhishek</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/navinkumars3466"&gt;nksnksnks&lt;/a&gt;&amp;nbsp; Currently there is no specific volume of the tasks mentioned. When you go with MNI process,&amp;nbsp;&amp;nbsp;MNI takes more memory.t is not good when we are using more than 1000 iterations, consumes more storage.using MNI does spawn all instances on the same execution engine. This can be an issue with a large number of instances (especially if your MNI is run on a sub-process node) because it can create a load unbalance between multiple execution engines. You would think of an alternative approaches like record/database approach&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Main task followed by related tasks using Process model</title><link>https://community.appian.com/thread/133266?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 10:50:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2b7fba81-e86f-441d-a098-bc13f8266f6d</guid><dc:creator>karthikkanjerla</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure about the volume if these tasks, if the volume is too high go by record centric approach and do not trigger a tasks i.e &amp;quot;user input&amp;quot; task using process instance, as in longer run these active process instances will eat up your instance memory and causes slowness.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If the volume is high better way to do this is by inserting the data into the DB with similar pattern on what you are expecting&amp;nbsp; to do with process and have an assignment column to whom this has to be assigned.&amp;nbsp; In site query this DB and show the list so that users can action on top of this and store the information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>