Service Portal

DiveshTyagi
Tera Guru

I want to perform different server actions like approve, reject, or close from the same widget.
Question: What is the best practice for using input.action in Service Portal widgets