delete_workflow
This method allows to delete workflow task that is attached to the object (Atention: this method is not supported for request object for more info check the following thread https://communities.ca.com/message/241847727?et=watches.email.thread#241847727
Definition:
delete_workflow(string, string);
string - workflow task persistent_id
string - persisten_id of the object that contains workflow task to delete
working example:
uuid who;
send_wait(0,top_object(), "call_attr", "cnt", "current_user_id");
who=msg[0];
send_wait(0, top_object(), "call_attr", "api", "delete_workflow", "cr_wf:400251", "cr:402266");
if (!msg_error()) {
printf("Error %s",msg[0]);