Skip to content

Instantly share code, notes, and snippets.

@icerge
Last active October 11, 2018 22:28
Show Gist options
  • Save icerge/2e72194058b5ff53b67a51cf91075dea to your computer and use it in GitHub Desktop.
Save icerge/2e72194058b5ff53b67a51cf91075dea to your computer and use it in GitHub Desktop.

I come across this trick when a request is created from a call. Request is created and parent field is populated with call sys_id value.

var url = "catalog_home.do?sysparm_view=catalog_default&sysparm_processing_hint=setfield:request.parent=";
url += current.sys_id;

action.setRedirectURL(url);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment