Is there any way to show cursor busy while a workflow runs in serverscript (on field change)?
Our workflow runs in a bc level. I created a PM/PR and added - SiebelApp.S_App.uiStatus.Busy(); But it is not working.
code:
function BusComp_SetFieldValue (FieldName)
{
..
if(sCaseId != "" && sCaseId != null)
{
var svc = TheApplication().GetService("Workflow Process Manager");
var Input = TheApplication().NewPropertySet();
var Output = TheApplication().NewPropertySet();
Input.SetProperty("ProcessName", "WCB CIS Case Search VBC Interface Workflow");
...
svc.InvokeMethod("RunProcess", Input, Output);
...
return (ContinueOperation);
}
=======
PM code:
if( typeof( SiebelAppFacade.AppletPM ) === "undefined" ){ ....
function OnFieldChange( control, value ){
if( control.GetName() === "sCaseId" && value != ""){
SiebelApp.S_App.uiStatus.Busy();
....