热门IT资讯网

Business rule cancel workflow

发表于:2024-11-24 作者:热门IT资讯网编辑
编辑最后更新 2024年11月24日,cancelMyWorkflows();function cancelMyWorkflows() { //get workflow helper var workflow = new Work
cancelMyWorkflows();function cancelMyWorkflows() {   //get workflow helper   var workflow = new Workflow();   //cancel all my workflows   var numCnxd = workflow.cancel(current);   if (numCnxd > 1)      gs.addInfoMessage(numCnxd + " " + gs.getMessage("Workflows for {0} have been cancelled", current.getDisplayValue()));   else if (numCnxd == 1)      gs.addInfoMessage("1 " + gs.getMessage("Workflow for {0} has been cancelled", current.getDisplayValue()));}
0