Skip to Content
0
Former Member
May 06, 2009 at 04:33 AM

Changing Message displayed on completion of Task ?

10 Views

Hi All,

On completion of BPM Task,a confimation window gets displayed with Options of Close and Cancel containing following message :Task has been successfully completed Do you want to close the window?

How can I change the same ?

As of now I m using conventional way to display my Custom Message in Confirmation window :

Code :

IWDControllerInfo controllerInfo = wdControllerAPI.getViewInfo().getViewController();

String dialogText = "Approved \nPlease Confirm";

IWDEventHandlerInfo evnthandlr =

wdControllerAPI.getViewInfo().getViewController().findInEventHandlers("OK");

IWDConfirmationDialog dialog =

(IWDConfirmationDialog) wdComponentAPI.getWindowManager().createConfirmationWindow(dialogText, evnthandlr ,"OK");

dialog.addChoice(controllerInfo.findInEventHandlers("CANCEL") ,"Cancel");

dialog.show();

But I get 2 Confirmation windows on Screen.First been Custom and second default .