-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shahmini master epic3358 [10] (#407)
* shahmini cp4i epic3358 [10] * shahmini master epic3358 [10] * shahmini master epic3358 [10] * shahmini master epic3358 [10] * epic3358 [10] * epic3358 [10] * epic3358 [10] * epic3358 [10] * epic3358 [10] * epic3358 [10] * epic3358 [10] * epic3358 [10] * epic3358 [10] * epic3358 [10] * epic3358 [10] * epic3358 [10] * Update template-metadata.json sync master and batch 9 entries * Update template-metadata.json Batch 10 shahmini master
- Loading branch information
1 parent
fabcf16
commit e6fc93c
Showing
25 changed files
with
1,866 additions
and
2 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
...a contact in Salesforce when a new company record is created in Microsoft SQL Server.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,48 @@ | ||
$integration: http://ibm.com/appconnect/integration/v2/integrationFile | ||
integration: | ||
type: trigger-action | ||
trigger-interfaces: | ||
trigger-interface-1: | ||
type: event-trigger | ||
triggers: | ||
CREATED_POLLER: | ||
input-context: | ||
data: cct_Company | ||
assembly: | ||
$ref: '#/integration/assemblies/assembly-1' | ||
options: | ||
subscription: | ||
createdField: startDate | ||
updatedField: startDate | ||
timeFormat: YYYY-MM-DDTHH:mm:ssZ | ||
timeZone: UTC | ||
pollingInterval: 1 | ||
isCreatedQueryable: true | ||
connector-type: mssql | ||
action-interfaces: | ||
action-interface-2: | ||
type: api-action | ||
business-object: Contact | ||
connector-type: salesforce | ||
actions: | ||
CREATE: {} | ||
assemblies: | ||
assembly-1: | ||
assembly: | ||
execute: | ||
- create-action: | ||
name: Salesforce Create contact | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-2' | ||
map: | ||
mappings: | ||
- LastName: | ||
template: '{{$Trigger.companyname}}' | ||
$map: http://ibm.com/appconnect/map/v1 | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
name: Create a contact in Salesforce when a new company record is created in Microsoft SQL Server | ||
models: {} |
117 changes: 117 additions & 0 deletions
117
resources/Create a file in Box for new documents created in Salesforce.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,117 @@ | ||
$integration: http://ibm.com/appconnect/integration/v2/integrationFile | ||
integration: | ||
type: trigger-action | ||
trigger-interfaces: | ||
trigger-interface-1: | ||
connector-type: salesforce | ||
type: event-trigger | ||
triggers: | ||
CREATED_POLLER: | ||
input-context: | ||
data: Document | ||
assembly: | ||
$ref: '#/integration/assemblies/assembly-1' | ||
options: | ||
subscription: | ||
createdField: CreatedDate | ||
updatedField: LastModifiedDate | ||
timeFormat: YYYY-MM-DDTHH:mm:ssZ | ||
timeZone: UTC | ||
pollingInterval: 1 | ||
isCreatedQueryable: true | ||
action-interfaces: | ||
action-interface-2: | ||
type: api-action | ||
business-object: File | ||
connector-type: box | ||
actions: | ||
CREATE: {} | ||
action-interface-1: | ||
type: api-action | ||
business-object: File | ||
connector-type: box | ||
actions: | ||
RETRIEVEALL: {} | ||
assemblies: | ||
assembly-1: | ||
assembly: | ||
execute: | ||
- retrieve-action: | ||
name: Box Retrieve file metadata | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-1' | ||
filter: | ||
where: | ||
id: '{{$Trigger.Id}}' | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
limit: 1 | ||
allow-truncation: true | ||
pagination-type: SKIP_LIMIT | ||
allow-empty-output: true | ||
- if: | ||
name: If | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: BoxRetrievefilemetadata | ||
$ref: '#/node-output/Box Retrieve file metadata/response/payload' | ||
- variable: BoxRetrievefilemetadataMetadata | ||
$ref: '#/node-output/Box Retrieve file metadata/response' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
branch: | ||
- condition: | ||
'{{$BoxRetrievefilemetadataMetadata."status-code"}}': | ||
neq: '200' | ||
execute: | ||
- create-action: | ||
name: Box Create file | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-2' | ||
map: | ||
mappings: | ||
- fileType: | ||
template: Text | ||
- name: | ||
template: '{{$Trigger.Name}}' | ||
- parent_id: | ||
template: '186657742772' | ||
$map: http://ibm.com/appconnect/map/v1 | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: BoxRetrievefilemetadata | ||
$ref: >- | ||
#/node-output/Box Retrieve file | ||
metadata/response/payload | ||
- variable: BoxRetrievefilemetadataMetadata | ||
$ref: >- | ||
#/node-output/Box Retrieve file | ||
metadata/response | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
else: | ||
execute: [] | ||
completion-action: | ||
terminate: | ||
info: | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: BoxRetrievefilemetadata | ||
$ref: >- | ||
#/node-output/Box Retrieve file | ||
metadata/response/payload | ||
- variable: BoxRetrievefilemetadataMetadata | ||
$ref: '#/node-output/Box Retrieve file metadata/response' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
message: File name {{$Trigger.Id}} is already exist in Box. | ||
status-code: 200 | ||
output-schema: {} | ||
name: Create a file in Box for new documents created in Salesforce | ||
models: {} |
Oops, something went wrong.