printf("member:%d\n",member); //find current signoffs SAFECALL(AOM_ask_value_tags(msg.task,"signoff_attachments", &num, &signoffs)); //remove exists reviewers SAFECALL(EPM_remove_attachments(msg.task,num,signoffs)); //add new reviewer SAFECALL(EPM_create_adhoc_signoff(msg.task,member,&count,&signoff)); //do adhoc signoff //auto complete select team task SAFECALL(EPM_trigger_action(msg.task,100,"Auto do")); printf("\nEPM_trigger_action complete!\n");