Page 1 of 1

Copy Task Dependencies

Posted: Wed May 09, 2018 7:29 pm
by Dev_Coppelis
Hi,
while trying to copy a task the new task has been created successfully but with no dependencies
in attachment you will see the code for copying old task dependencies but i got 2 errors
1) in taskIncomingDependencies i can't fetch the new task id it gives me the
id = Gnt.examples.advanced.model.Task-1
2)in taskOutgoingDependencies it gives me runtime error

Re: Copy Task Dependencies

Posted: Thu May 10, 2018 9:54 am
by Maxim Gorkovsky
Hello.
Apparently that happens because your new task is not in the task store. Put new task to the task store before creating dependencies on it