Display Info /Error message in Project Workspace on planning Console on update of any field

Khushboo8
Tera Contributor

Hi All,

 

I am trying to display a error message on change of any field on project task in below Planning View on Project Workspace but it is not coming  using a Business Rule . It works fine in native end though. Please find the below screenshot:

Khushboo8_0-1748864141957.png


Business Rule Script : On update --Table Name : Pm_project_task

Script : 

(function executeRule(current, previous /*null when async*/) {

    // Add your code here

    gs.addInfoMessage('Test Message');

})(current, previous);

 

8 REPLIES 8

Vutikonda Vinay
Tera Contributor

Hello @Khushboo8,

 

Have you tried by onSubmit() or onChange() Client scripts by using g_form.addErrorMessage() method. 

Yes, none of them are working

 

Vutikonda Vinay
Tera Contributor

Strange, have you tried with UI policy with script?

 

 

Yes, it is working on form view but not on this view