PFB Code for Calling workflow in Async Mode in siebel
var objInputPS = TheApplication().NewPropertySet();
var objChildPS = TheApplication().NewPropertySet();
var objOutputPS = TheApplication().NewPropertySet();
var objWorkflowBS = TheApplication().GetService("Asynchronous Server Requests");
objInputPS.SetProperty("Component", "WfProcMgr");
objChildPS.SetProperty("ProcessName", Inputs.GetProperty("ProcessName"));
objChildPS.SetProperty("RowId", Inputs.GetProperty("RowId"));
objInputPS.AddChild(objChildPS);
objWorkflowBS.InvokeMethod("SubmitRequest", objInputPS, objOutputPS);
No comments:
Post a Comment