-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create Create an incident in ServiceNow whenever a new customer issue record is added to IBM Db2.yaml * Create Create an incident in ServiceNow whenever a new customer issue record is added to IBM Db2_instructions.md * Update template-metadata.json * Update Create an incident in ServiceNow whenever a new customer issue record is added to IBM Db2_instructions.md * Update Create an incident in ServiceNow whenever a new customer issue record is added to IBM Db2.yaml Updated name * Update Create an incident in ServiceNow whenever a new customer issue record is added to IBM Db2_instructions.md Corrections * Update template-metadata.json Correction --------- Co-authored-by: Deepak Ayilliath <[email protected]>
- Loading branch information
1 parent
f40fe2f
commit 44f3fc2
Showing
3 changed files
with
82 additions
and
1 deletion.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
...e an incident in ServiceNow whenever a new customer issue record is added to IBM Db2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
$integration: http://ibm.com/appconnect/integration/v2/integrationFile | ||
integration: | ||
type: trigger-action | ||
trigger-interfaces: | ||
trigger-interface-1: | ||
connector-type: db2 | ||
type: event-trigger | ||
triggers: | ||
CREATED_POLLER: | ||
input-context: | ||
data: WQP38781_CUSTOMERISSUES | ||
assembly: | ||
$ref: '#/integration/assemblies/assembly-1' | ||
options: | ||
subscription: | ||
createdField: CREATEDDATE | ||
updatedField: CREATEDDATE | ||
timeFormat: YYYY-MM-DDTHH:mm:ssZ | ||
timeZone: UTC | ||
pollingInterval: 1 | ||
isCreatedQueryable: true | ||
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: | ||
- business_service: | ||
template: '{{$Trigger.Service}}' | ||
- caller_id: | ||
template: '{{$Trigger.CUSTOMERNAME}}' | ||
- category: | ||
template: database | ||
- cmdb_ci: | ||
template: '{{$Trigger.CONFIGURATIONITEM}}' | ||
- number: | ||
template: '{{$Trigger.NUMBER}}' | ||
- opened_at: | ||
template: '{{$Trigger.CREATEDDATE}}' | ||
- short_description: | ||
template: '{{$Trigger.ISSUEDESCRIPTION}}' | ||
- subcategory: | ||
template: db2 | ||
$map: http://ibm.com/appconnect/map/v1 | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
name: Create an incident in ServiceNow whenever a new customer issue record is added to IBM Db2 | ||
models: {} |
10 changes: 10 additions & 0 deletions
10
...iceNow whenever a new customer issue record is added to IBM Db2_instructions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
To refer to these instructions while editing the flow, open [the GitHub page](https://github.com/ot4i/app-connect-templates/blob/master/resources/markdown/Create%20an%20incident%20in%20ServiceNow%20whenever%20a%20new%20customer%20issue%20record%20is%20added%20to%20IBM%20Db2) (opens in a new window). | ||
|
||
1. Click **Create flow** to start using the template. | ||
2. Connect to your [IBM Db2 on Cloud account](https://ibm.biz/acibmdb2). | ||
3. Connect to your [ServiceNow account](https://ibm.biz/aasservicenow). | ||
4. Select the IBM Db2 on Cloud table through which you want to create an incident in ServiceNow. | ||
5. To start the flow, in the banner, click **Start flow**. | ||
|
||
Want to see the flow working? Create a new customer issue in IBM Db2, then go back to ServiceNow to see the new incident. | ||
For more information about using this template, see [Using IBM® App Connect to interact with IBM DB2 on Cloud](https://community.ibm.com/community/user/integration/blogs/himani-bhardwaj2/2023/07/10/using-ibmappconnect-to-interact-with-ibm-db2cloud). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters