UI Action isn't getting displayed on the form.

SounakPal
Tera Contributor

The problem given was to create a simple onClick UI Action on a form. However, even if the condition is matching or even if I keep the condition as a dummy true value the UI Action button isn't showing up on the form. Any help will be much appreciated since both from button and active is checked as true. 

6 REPLIES 6

sumanta pal
Kilo Guru

Here are some steps you can follow to troubleshoot and resolve the issue: 1. Check the UI Action's Table: Ensure that the UI Action is associated with the correct table. If it's not, it won't appear on the form. 2. Check the UI Action's Form Button: Make sure the 'Form button' checkbox is selected. If it's not, the UI Action won't appear as a button on the form. 3. Check the UI Action's Active Status: Ensure that the 'Active' checkbox is selected. If it's not, the UI Action won't be active and won't appear on the form. 4. Check the UI Action's Condition: If a condition is specified, it must be met for the UI Action to appear. If the condition isn't met, the UI Action won't appear. Try removing the condition to see if the UI Action appears. 5. Check the UI Action's Roles: If roles are specified, the logged-in user must have at least one of the roles for the UI Action to appear. If the user doesn't have the required roles, the UI Action won't appear. 6. Check the UI Action's Script: If there's an error in the script, the UI Action may not appear. Check the script for errors. 7. Clear the Cache: Sometimes, ServiceNow caches forms and other elements, which can cause issues. Try clearing your cache to see if the UI Action appears. 8. Check the Form Layout: The UI Action may be hidden in the form layout. Check the form layout to ensure the UI Action is not hidden. 9. Check for Conflicting UI Actions: If there's another UI Action with the same name, it may be causing a conflict. Check for and resolve any conflicting UI Actions. 10. Check the System Logs: If none of the above steps resolve the issue, check the system logs for any errors or warnings related to the UI Action.

SounakPal
Tera Contributor

We are trying to enable "Create Knowledge" UI action on incident table so that whenever the user clicks on this button then it will create a draft Knowledge article. To achieve this, we have activated an OOTB UI action "Create Knowledge" but it's still not showing the button on the incident form. So, any help will be much appreciated.MicrosoftTeams-image (1).pngMicrosoftTeams-image.png