Business Rules info message appears for a very short amount of time.

Jack Hoblyn
Tera Contributor

After creating a business rule for work order tasks to validate if the start time is within access hours, with the filters and logic included in the screenshots provided, the expected info message only pops up for about 1-2 seconds in Customer Order Management -> Configurable Workspace Home.

If we change the window start time or the access hours themselves it pops up perfectly, and we expect the same behaviour if we change the scheduled start time, but for some unknown reason it doesn't seem to work.

The info messages display fine on the actual work order task themselves.

Any suggestions would be greatly appreciated.

1 ACCEPTED SOLUTION

Aman Kumar S
Kilo Patron

Hey,

It usually doesn't happen, the BR looks alright and if the message is popping up, there must be some client script that runs and clearing the message from the form.

Can you look for the culprit in your client script/UI policies(less chances here, should be in client scripts)

Also, look for server side, if there are any flush calls there in BR

Best Regards
Aman Kumar

View solution in original post

7 REPLIES 7

Hi Jack, I am also struggling for the same client script that clears server side messages. Can you please share the script that was clearing messages from within the UI Policy

Musab Rasheed
Tera Sage
Tera Sage

Hi @Jack Hoblyn ,

Try using gs.addErrorMessage("Your message"); instead of Info message.?

Regards

Please hit like and mark my response as correct if that helps
Regards,
Musab

Hey Musab, thanks for the response.

 

It unfortunately appears that the same issue persists when switching to an error message.