Created
March 27, 2021 15:52
-
-
Save manvillej/6331313b9a2ee728d2bbbb9fcbd7b9fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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