update in a display business rule

brumiou
Mega Guru

Hi,

I have a request from the business :
they want that if the service desk enter a comment, the record appears in the list with a specific color (that's easy)
But then, if someone from a specific group opens the record, this should put the record color to normal.
It means I have to update the record when the user opens it.

I tried to do that with a display business rule, but if I do a current.update() when the users open the form, he gets a blank screen.

I tried to use gs.setRedirect, but without result.

Have you any idea on how to update a record when someone opens the form? Without any action from him?

Thanks a lot

rgds

Xavier

10 REPLIES 10

Thanks for the input John and yes I already have that rule in place (flag_field == true) along with the other conditions based on client's specific business requirements. Basically, the code in display business rule will only be executed when the flag needs to be updated.

And on behalf of the purists, thanks for looking after their sleep! 🙂