Cybersecurity
DevOps Cloud
IT Operations Cloud
if (system.functions.exists("current.phase", this.scFile) && this.scFile["current.phase"]!=null) // with PD(Incident), do back end WF transition close rc = this.scFile.doAction("_wfE:event.close"); } else { // without PD(Incident), do close rc = this.scFile.doAction("close");
if (system.functions.exists("current.phase", this.scFile) && this.scFile["current.phase"]!=null) { // with PD(Incident), do back end WF transition close //add below line to bypass validation vars.$bypass_failed_validation = true; rc = this.scFile.doAction("_wfE:event.close"); } else { // without PD(Incident), do close rc = this.scFile.doAction("close");