forked from feejaydee/fjdrepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Create an incident.yaml
43 lines (43 loc) · 1.26 KB
/
Create an incident.yaml
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
$integration: 'http://ibm.com/appconnect/integration/v2/integrationFile'
integration:
type: trigger-action
trigger-interfaces:
trigger-interface-1:
connector-type: gmail
triggers:
CREATED:
input-context:
data: mail
assembly:
$ref: '#/integration/assemblies/assembly-1'
options: {}
type: event-trigger
action-interfaces:
action-interface-1:
type: api-action
business-object: incident
connector-type: servicenow
actions:
CREATE: {}
assemblies:
assembly-1:
assembly:
execute:
- create-action:
name: ServiceNow Create Incident
target:
$ref: '#/integration/action-interfaces/action-interface-1'
map:
mappings:
- category:
template: Software
- number:
template: AAA1234567
- short_description:
template: AAAA short desc for App Connect flow
$map: 'http://ibm.com/appconnect/map/v1'
input:
- variable: Trigger
$ref: '#/trigger/payload'
name: Create an incident
models: {}