I’ve answered several questions in the past about the functionality
Here’s a useful script I’ve used before to grab parameters
A URL in ServiceNow is more than it seems at