Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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 

_____
100 % GlideFather experience and 0 % generative AI

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... 

_____
100 % GlideFather experience and 0 % generative AI

Sandeep Rajput
Tera Patron

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