My LogiX is Undeniable.
//Execute workflow on button clickvar obttcode = "10032"; var wrkflo_id = "{154599DD-B20B-4F72-8771-CA93C660C820}"; launchOnDemandWorkflowForm(' ',obttcode,wrkflo_id); //Crm Defined functionalert("executed");