How can I add a comment as an admin from a server script in a widget?

khalid1
Tera Contributor

I have a widget, and I want an automatic comment to be added as an admin when I click a button

5 REPLIES 5

GlideFather
Tera Patron

@khalid1,

 

then modify the widget configurations, this is nothing telling, you must provide anything to understand it better 

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


I have a button that rejects the solution of an RITM, and I want an automatic comment to be added under the name of the system admin—not the logged-in user—when it's clicked

It can be done easily by flow designer:

 

Trigger: Approval is set to False

Action: Add Work note to the Approval for record

What do you think about this? I believe it would be so much easier than to hassle with widget configurations... 

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Sandeep Rajput
Tera Patron
Tera Patron

@khalid1 What is the business use case here? Why you would like to introduce this feature?