Forum Discussion

SystemsBVI's avatar
SystemsBVI
Qrew Assistant Captain
8 years ago

Automatic milestones and task creation on a project based on different criteria

Hi,

I have seen several examples of using templates to create replica/copies of tasks/milestones. All these logic involve updating a single record with the parent record id that in turn adds new records with the data from the template records. I understand this process is fast enough but i am still curious if timing will ever be an issue. 
For ex. if project 1 is updated, it updates a template record with the current project id which in turn creates new child records under the project using data from the task template records. The action here that's configured is essentially an asynchronous one i assume. 

Just before the action above triggers, what happens if someone updates another project simultaneously that triggers the same set of actions as above. Isnt there a remote possibility that there could be a race condition and cause some incorrect behavior ? 

I am looking for a fool proof method to be able to create task records from templates. 

Thanks!
No RepliesBe the first to reply