cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Message displayed on completion of Task ?

Former Member
0 Kudos

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 .

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks in Advance

martin_moeller
Contributor
0 Kudos

Hi Sheetal,

The confirmation dialog is automatically generated by SAP NetWeaver BPM and in the current release there is no possibility to hide it. In case you want to display some additional information you could report a message via the Message Manager on completion of the task. This will be displayed in the confirmation dialog as well.

Hope that helps,

Martin

Former Member
0 Kudos

Hi Martin,

Thanks for your Reply.