Skip to content

Instantly share code, notes, and snippets.

@manvillej
Created March 27, 2021 15:52
Show Gist options
  • Save manvillej/6331313b9a2ee728d2bbbb9fcbd7b9fe to your computer and use it in GitHub Desktop.
Save manvillej/6331313b9a2ee728d2bbbb9fcbd7b9fe to your computer and use it in GitHub Desktop.
// Scripted Resolver: getTestInformation
(function process(/*ResolverEnvironment*/ env) {
var test = new GlideRecord("sys_atf_test");
var sys_id = env.getArguments().id;
if(test.get(sys_id)){
return ATFGraphQLAPI.atfTestToJson(test);
}
return;
})(env);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment