Re: How to update a task list item in a master task list when a task is updated in child task list
Hi @Anonymous,
Do you want to update a task in the Master Task list on Root site when the corresponding task on sub-site is marked as Completed?
I have made the following test for your reference which will be used to create/update items from sub-site to root site.
It is triggered by When an item is created or modified. Enter the correct sub-site URL in the Site Address field, and the Task name in the List Name field.
Add the action Initialize variable. Set its name as Tasks, Type as Array.
Get items from the master list on Root site.
Add an Apply to each, get value from the action Get items. Add the action Append to array variable within Apply to each. Select “Tasks” for Name field and dynamic content “Task Name” for Value field.
Under Apply to each, add a Condition to check if the variable Tasks contains the Task Name from the trigger.
Under If yes branch, add Condition2 to check if the dynamic content Task Name from action Get rows is equal to dynamic content Task Name from the trigger. if yes, update the corresponding task with the Task Status Value selected from the trigger.
Under If no branch, add action Create item to create the new task on the master task list on root site.
Images for your reference:



Best regards,
Mabel