/
GenericPollingScheduledTask.yml
53 lines (53 loc) · 1.63 KB
/
GenericPollingScheduledTask.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
commonfields:
id: GenericPollingScheduledTask
version: -1
name: GenericPollingScheduledTask
script: ''
type: javascript
tags: []
comment: Runs the polling command repeatedly, completes a blocking manual task when
polling is done.
enabled: true
args:
- name: ids
required: true
description: List of IDs to poll
isArray: true
- name: pendingIds
description: IDs with pending status
- name: pollingCommand
required: true
description: Name of the polling command to run
- name: pollingCommandArgName
required: true
description: Name of the argument of the polling command
defaultValue: ids
- name: interval
required: true
description: Polling frequency - how often the polling command should run (minutes)
- name: timeout
required: true
description: How much time to poll before declaring a timeout and resuming the playbook
(minutes)
- name: playbookId
description: The ID of the playbook that contains the manual task which will be
completed once the polling is done.
- name: tag
required: true
description: The tag of the blocking manual task ("Wait For Polling Task To Finish")
defaultValue: polling
- name: additionalPollingCommandArgNames
description: Names of additional arguments for the polling command (e.g. arg1,arg2,...)
isArray: true
- name: additionalPollingCommandArgValues
description: Commas separated arguments values of the polling command
isArray: true
- name: scheduledEntryGuid
description: The GUID of the scheduled entry that runs the polling command.
- name: endTime
description: The time to end the polling.
scripttarget: 0
runonce: false
tests:
- Generic Polling Test
fromversion: 5.0.0