Updating a Task based on an export from another Task
We are working on getting a number of non-code based configurations and settings in fully automated deployments, and I was wondering if anyone had any ideas on how to "update" a task that already exists.
What's in our repository is a separate file for each task in the standard .xml format for:
The problem is, the ImportTasks method doesn't update or overwrite if the task name already exists, and there's no DeleteTask method.
We could of course, delete the task by querying %SYS.Task, finding the OID based on the name of the task, then import it. I was also considering using a file reader of some kind and correlating the xml elements to properties of the %SYS.Task object, but it gets a little hairy.
Does anyone have any other thoughts on how I could tackle this?