Error message on UI Action

Abhishek Pande2
Giga Expert

Requirement: When user click on UI action ' Submit for ST signoff' it should do a validation on Application Service [cmdb_ci_service_auto] Table to validate that business service 'environment is set to 'Production' if not then throw error like 'Can't be signoff since B_App_service is not configured for production".

Which solution will be better and how to implement it? Any leads will be helpful.

find_real_file.png

Abhishek Pandey
+91 7869881249 || 120591abhishek@gmail.com
10 REPLIES 10

Aman Kumar S
Kilo Patron

You can write up server side code in UI action to glide cmdb_ci_service_auto table and based on the query result you can throw error message

Best Regards
Aman Kumar

Hi Aman

Thanks for response, Let me give a try and get back if need further help.

Regards

Abhishek Pandey

Abhishek Pandey
+91 7869881249 || 120591abhishek@gmail.com

Hey,

Didn't hear back on this.

Is your issue resolved? If yes, feel free to mark helpful/correct, so it will be helpful for others looking for similar query.

Best Regards
Aman Kumar

Hi @Aman Kumar 

Below is the detail of UI action on which i am working upon if you can identify the bug and share input

find_real_file.png

find_real_file.png

Regards

Abhishek Pandey

Abhishek Pandey
+91 7869881249 || 120591abhishek@gmail.com