ShowScheduledEntries

Show all scheduled entries for specific incident.

javascript · Common Scripts

Details

IDShowScheduledEntries
Languagejavascript
From Version5.0.0
TagsUtility

README

Shows all scheduled entries for the specific incident.

Script Data


Name Description
Script Type javascript
Tags Utility

Inputs


Argument Name Description
incidentId The incident ID to get the tasks from.

Outputs


Path Description Type
ScheduledEntries The entire scheduled entry object. Unknown
ScheduledEntries.id The entry ID. string
ScheduledEntries.contents The entry contents (the scheduled command). string
ScheduledEntries.type The entry type. number
ScheduledEntries.investigationID The entry’s investigation ID. string
ScheduledEntries.schedule.startDate The entry’s scheduled start date. Unknown
ScheduledEntries.schedule.EndingType The entry’s scheduled ending type. Can be, “by” or “after”. Unknown
ScheduledEntries.schedule.Times The entry’s scheduled time until end. This applies when the ending type is “by”. number
ScheduledEntries.schedule.EndingDate The entry’s scheduled end time. This applies when the ending type is “after”. Unknown
ScheduledEntries.schedule.cron The entry schedule CRON. string
ScheduledEntries.schedule.HumanCron The entry schedule settings. Unknown
commonfields:
  id: ShowScheduledEntries
  version: -1
name: ShowScheduledEntries
script: ''
type: javascript
tags:
- Utility
comment: Show all scheduled entries for specific incident.
enabled: true
args:
- name: incidentId
  default: true
  description: Incident ID to get tasks from
outputs:
- contextPath: ScheduledEntries
  description: Entire scheduled entry object
- contextPath: ScheduledEntries.id
  description: Entry ID
  type: string
- contextPath: ScheduledEntries.contents
  description: Entry contents (the scheduled command)
  type: string
- contextPath: ScheduledEntries.type
  description: Entry type
  type: number
- contextPath: ScheduledEntries.investigationID
  description: Entry's investigation ID
  type: string
- contextPath: ScheduledEntries.schedule.startDate
  description: Entry schedule start date
- contextPath: ScheduledEntries.schedule.EndingType
  description: Entry schedule ending type (by / after)
- contextPath: ScheduledEntries.schedule.Times
  description: Entry schedule times until ends (when ending type is 'by')
  type: number
- contextPath: ScheduledEntries.schedule.EndingDate
  description: Entry schedule end time (when ending type is 'after')
- contextPath: ScheduledEntries.schedule.cron
  description: Entry schedule cron
  type: string
- contextPath: ScheduledEntries.schedule.HumanCron
  description: Entry schedule settings
scripttarget: 0
sensitive: true
fromversion: 5.0.0
tests:
- TestShowScheduledEntries