The actions Modify another task and Modify other tasks: Difference between revisions

From Planfix
Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:


==Change other task==
==Modify another task==


When using the [[Operations in scripts | operation]] '''Change other task''', it's important to remember that if several tasks meet the criteria to be modified, '''the changes will be made in only one task'''. There's no way to specify which task to change. Because of this, it's important to use criteria that allow you to be sure you are selecting the exact task that you need.
When using the [[Actions in scripts | action]] '''Modify another task''', it's important to remember that if several tasks meet the criteria to be modified, '''the changes will be made in only one task'''. There's no way to specify which task to change. Because of this, it's important to use criteria that allow you to be sure you are selecting the exact task that you need.


   
   
===Example of using this operation in a script:===
===Example of using this action in a script:===


   
   
Line 11: Line 11:
   
   


In this example, the task that will be changed was created using the "Basic" template and is located in the same tree as the task where the event occurred that triggered the script. If there are several tasks in this tree that were created using the "Basic" template, there's a chance that the operation will not change the task you were expecting it to. Therefore, to be more precise, we recommend using a [[Task templates| unique template]] to create only one such task in each task tree.
In this example, the task that will be changed was created using the "Standard" template and is located in the same tree as the task where the event occurred that triggered the script. If there are several tasks in this tree that were created using the "Basic" template, there's a chance that the action will not change the task you were expecting it to. Therefore, to be more precise, we recommend using a [[Task templates| unique template]] to create only one such task in each task tree.
   
   
Another way is to use a different method of identifying the task you need. List of available methods:
Another way is to use a different method of identifying the task you need. List of available methods:
Line 19: Line 19:


   
   
==Change other tasks==
==Modify other tasks==
'''The Change other tasks operation''' allows you to automatically make bulk changes to a set of tasks that meet the criteria specified in the operation. An important nuance of this type of operation is that '''you can only change up to 150 tasks with it'''.
'''The Modify other tasks action''' allows you to automatically make bulk changes to a set of tasks that meet the criteria specified in the action. An important nuance of this type of action is that '''you can only change up to 150 tasks with it'''.
   
   
If more than 150 tasks meet the condition you set for selecting tasks, only 150 of them will be modified. Unfortunately, there's no way to guarantee which tasks will be modified. Therefore, if you need to make bulk changes to more than 150 tasks, you should use a [[bulk task actions]], which doesn't have this restriction.
If more than 150 tasks meet the condition you set for selecting tasks, only 150 of them will be modified. Unfortunately, there's no way to guarantee which tasks will be modified. Therefore, if you need to make bulk changes to more than 150 tasks, you should use a [[bulk task actions]], which doesn't have this restriction.

Revision as of 09:12, 28 November 2023

Modify another task

When using the action Modify another task, it's important to remember that if several tasks meet the criteria to be modified, the changes will be made in only one task. There's no way to specify which task to change. Because of this, it's important to use criteria that allow you to be sure you are selecting the exact task that you need.


Example of using this action in a script:

HcrcDk.png


In this example, the task that will be changed was created using the "Standard" template and is located in the same tree as the task where the event occurred that triggered the script. If there are several tasks in this tree that were created using the "Basic" template, there's a chance that the action will not change the task you were expecting it to. Therefore, to be more precise, we recommend using a unique template to create only one such task in each task tree.

Another way is to use a different method of identifying the task you need. List of available methods:


t8H7ec.png


Modify other tasks

The Modify other tasks action allows you to automatically make bulk changes to a set of tasks that meet the criteria specified in the action. An important nuance of this type of action is that you can only change up to 150 tasks with it.

If more than 150 tasks meet the condition you set for selecting tasks, only 150 of them will be modified. Unfortunately, there's no way to guarantee which tasks will be modified. Therefore, if you need to make bulk changes to more than 150 tasks, you should use a bulk task actions, which doesn't have this restriction.


Go To