Programmatically replace task

Discussion created by joel_wiesmann_automic on Apr 26, 2017
Latest reply on May 1, 2017 by Christine_Chavez_6412

Hi there

Anyone has a hint on how a task in a workflow can programmatically be replaced? In the GUI there's a Replace-Task button but I cannot find any method in the ApplicationInterface API that features the same and I can't imagine that I need to replicate a complete new task and copy the dependencies etc.. I'm on AE v10.