Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Project Workspace (Zurich) - gs.addInfoMessage() flashes and disappears after Create Work Order

SAS21
Tera Guru

Hi,

 

I'm seeing some unexpected behavior in Project Workspace (Breadcrumb App Shell) on the Zurich release and wanted to check if anyone has experienced something similar.

Scenario

A Work Order is created from a Project Task using the Create Work Order related list UI Action.

During the creation process, server-side messages are added using gs.addInfoMessage().

For example:

 

gs.addInfoMessage("The selected project does not have a Default Dispatch Group.");
 

 

There is also an OOB message from WorkManagementInitiation: (Scriptinclude)

gs.addInfoMessage(gs.getMessage("Work Order created for {0}", previousItilTask.number));

 

Issue

In Project Workspace:

  • The info messages briefly appear after the Work Order is created.
  • They immediately disappear.
  • If I navigate back to the originating Project Task, the same messages are displayed again.

This indicates that the messages are still available in the session but are not being rendered correctly immediately after the redirect.

Comparison

UI Behaviour - Info messages stay on native , also FSM/CSM work space - timeout after 5 sec

Investigation performed

  • Verified the Business Rule executes correctly.
  • Verified gs.addInfoMessage() is called.
  • Reproduced the same behavior with the OOB "Work Order created for..." message.
  • Tested gs.getSession().addInfoMessage().
  • Compared Project Workspace with FSM Workspace.
  • Verified notifications are enabled in chrome_header.
  • Noticed FSM Workspace has an OOB alert_auto_dismiss_config UX Page Property, while Project Workspace does not. Creating a similar property for Project Workspace (Route = Record) did not change the behavior.

Question

Has anyone seen this behavior in Project Workspace (Breadcrumb App Shell)?

  • Is this expected behavior for server-side messages after action.setRedirectURL()?
  • Is there a Workspace-specific notification mechanism that should be used instead of gs.addInfoMessage()?
  • Or is this a known issue in Zurich?

Any suggestions or similar experiences would be greatly appreciated.

Thanks!

0 REPLIES 0