How to show Infomessage on SCTASK form, from a business rule insert from another table?

MarioP1
Tera Contributor

Hi Folks,

 

I have a business rule(custom table) that runs when a file is attached on SCTASK table.

 

I need to show an Infomessage to user on SCTASK form after the BR(custom table) runs successfully. The BR being on server side I am not sure how to show Infomessage on client side(SCTASK form) to user? I am able to update work notes from BR with comments but not able to show Infomessage or alert

 

Any ideas?

 

Please ask questions if I am not clear with my ask.

 

Thanks

 

 

6 REPLIES 6

Community Alums
Not applicable

Hello,

 

The best possible way to do this is to create a field on sc_task and hide it using client script(on load) and update it's value using the same business rule and then an onchange client script to show info message.

 

Please mark it helpful if the solution helped you 🙂

 

Best Regards,
Brahmjeet

Bert_c1
Kilo Patron

Use 'gs.addInfoMessage() in the BR. I have 680 business Rules in my instance that have 'gs.addInfoMessage()' in the script.