A quick ‘Pro Tip’. If you’re testing out a UI action inside of ServiceNow, and you’ve got to windows open, one where you’re making changes to the UI action and another that has an incident open where the UI action is located, refresh the incident window before testing changes to the UI action.
I was testing out a UI action recently, and there were definitely times where the changes I made to the UI action didn’t propagate out to the window with the incident until after I did a hard refresh of the page. I wasted a bit of time there trying to figure out why my UI action wasn’t behaving as intended when the problem turned out to be that I was still running an earlier version of the UI action.