Scheduling the Export Job Run
Note:The export job leverages the OAuth token used to connect to the Flexera One and IT Visibility. See Generating a Refresh Token in ServiceNow.
The Flexera One app includes a job to export data from ServiceNow. This job can be configured to export filtered output of Computers, Netgear, and Software Install data to extract for import into IT Visibility in Flexera One. For more about the filter queries, see Filtering What Is Exported From ServiceNow. To schedule the Export job to run at regular intervals, use the instructions below to set the job’s run frequency.
Note:Job scheduling requires an account with the ServiceNow admin role.
Setting the Job Schedule
Follow the instructions below to set the run frequency for the Export job.
To schedule the Export job
1. | Navigate to Flexera One > Export Configurations > Schedule Export |
2. | On the Schedule Export Run page, click the Active checkbox. This checkbox makes the schedule active. |
3. | Set the Run frequency for the job. This determines the cadence with which the Export job will run. See below for additional details about the scheduling properties for this job. |
4. | Click Update. |
The scheduled export will start the export of records based on the queries provided in Export Properties and send it to IT Visibility in Flexera One.
Scheduling Properties for the Export Job
Properties for the job include the following:
• | Run—The run frequency to use for running the scheduled job: Daily, Monthly, Weekly, Periodically, Once, On Demand, Business Calendar: Entry Start, Business Calendar: Entry End. Jobs set to run Once can be scheduled. Jobs set to run On Demand cannot be scheduled and only run when invoked. |
• | Time zone—Time zone to use with the Time field entry when you specify the time at which the scheduled job should run. |
Note:For scheduled job types that require an entered time, you have the option to enter an associated time zone. If no time zone is selected, the job will run at the entered time in time zone of the user who entered the time. If Use System Time Zone is selected, the entered time will run in the time zone of the instance running the job.
• | Time—Time of day at which the scheduled job should run, expressed in hours, minutes, and seconds on a 24-hour clock. |
• | Run this script—Content of script to run at the scheduled date and time. This script has the logic to run the Flexera One API services for different datasets and executes at the time you specify. |