Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

function WebApplet_PreInvokeMethod (MethodName)

{
if (MethodName == "invokewf")
{
var inputs = TheApplication().NewPropertySet();
var outputs = TheApplication().NewPropertySet();
var srid = this.BusComp().GetFieldValue("Id");
var service = TheApplication().GetService("Workflow Process Manager");
inputs.SetProperty("ROW_ID",srid);
inputs.SetProperty("ProcessName", "update process");
service.InvokeMethod("RunProcess", inputs, outputs);
return (CancelOperation);
}
return (ContinueOperation);
}

You might also like