QuestionQ65Verified/Application AutomationCopy linkReport a problemAsk AstroTutorSave questionWhich objects are available for use in a Scheduled Script Execution (Scheduled Job) script?AGlideRecord and currentBGlideUser and GlideRecordCGlideSystem and GlideRecordDGlideSystem and currentShow AnswerAnswerExplanationScheduled Script Executions run on the server, where gs provides the GlideSystem API and scripts can create GlideRecord objects to access table records. Because the job is not executing against a specific record, no current record is supplied. ServiceNow’s scheduled-script documentation demonstrates use of both gs and GlideRecord.Learn moreServiceNow: Run a script of your choosingServiceNow: GlideSystem API (Global)Show comments10Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion