Scripted version of the aim of this edit
EditCaseAction Class | Ant.Workflow.Tasks.Actions Namespace