Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shahmini master epic3358 [5] #370

Merged
merged 33 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
9293415
shahmini cp4i epic3358 [5]
shahminiaru Sep 13, 2023
bc59e22
shahmini epic3358 [5]
shahminiaru Sep 13, 2023
89532d1
Update and rename Create a comment in GitHub with a knowledge article…
shahminiaru Sep 15, 2023
0d7e3c1
batch5 epic3358
shahminiaru Sep 26, 2023
f615132
batch5 epic3358
shahminiaru Sep 26, 2023
446e452
batch5 epic3358
shahminiaru Sep 26, 2023
252504d
batch5 epic3358
shahminiaru Sep 26, 2023
2ee4b9b
batch5 epic3358
shahminiaru Sep 26, 2023
9fcb41f
batch5 epic3358
shahminiaru Sep 26, 2023
40f092e
batch5 epic3358
shahminiaru Sep 26, 2023
4dff33d
batch5 epic3358
shahminiaru Sep 26, 2023
5c35c73
Update Create a new employee in IBM Db2 for each worker retrieved fro…
shahminiaru Sep 26, 2023
4fb7660
batch5 epic3358
shahminiaru Sep 26, 2023
f3f00ef
batch5 epic3358
shahminiaru Sep 26, 2023
52005fe
batch [5]
shahminiaru Sep 26, 2023
46df598
batch [5]
shahminiaru Sep 26, 2023
23ac3cd
batch [5]
shahminiaru Sep 26, 2023
752b8c4
batch5
shahminiaru Sep 26, 2023
84ea99f
Batch 5
shahminiaru Sep 26, 2023
1f72095
batch 5
shahminiaru Sep 26, 2023
ffea338
Update template-metadata.json
shahminiaru Sep 26, 2023
15e75d9
Merge branch 'master' into shahminiaru-patch-3
shahminiaru Sep 26, 2023
1a57bc6
batch 5
shahminiaru Sep 26, 2023
eeaa0f5
Batch 5
shahminiaru Sep 26, 2023
58a9cef
Update template-metadata.json
shahminiaru Sep 26, 2023
fa6ae2c
batch 5
shahminiaru Sep 26, 2023
c9bdc0d
batch 5
shahminiaru Sep 26, 2023
5a9633d
batch 5
shahminiaru Sep 26, 2023
570fcb8
Update template-metadata.json
shahminiaru Sep 26, 2023
ab54a68
Update template-metadata.json
shahminiaru Sep 26, 2023
fa3edaa
batch 5
shahminiaru Sep 26, 2023
8447208
batch 5
shahminiaru Sep 26, 2023
5d17f46
batch 5
shahminiaru Sep 26, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
$integration: http://ibm.com/appconnect/integration/v2/integrationFile
integration:
type: trigger-action
trigger-interfaces:
trigger-interface-1:
type: event-trigger
triggers:
CREATED:
input-context:
data: Campaign
assembly:
$ref: '#/integration/assemblies/assembly-1'
options: {}
connector-type: salesforce
action-interfaces:
action-interface-3:
type: api-action
business-object: CampaignMember
connector-type: salesforce
actions:
RETRIEVEALL: {}
action-interface-1:
type: api-action
business-object: events
connector-type: googlecalendar
actions:
CREATE: {}
assemblies:
assembly-1:
assembly:
execute:
- retrieve-action:
name: Salesforce Retrieve campaign members
target:
$ref: '#/integration/action-interfaces/action-interface-3'
filter:
where:
CampaignId: '{{$Trigger.Id}}'
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: flowDetails
$ref: '#/flowDetails'
limit: 10
allow-truncation: false
pagination-type: TOKEN
allow-empty-output: false
- for-each:
name: For each
assembly:
$ref: '#/integration/assemblies/assembly-2'
source:
expression: '$SalesforceRetrievecampaignmembers '
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: SalesforceRetrievecampaignmembers
$ref: >-
#/node-output/Salesforce Retrieve campaign
members/response/payload
- variable: SalesforceRetrievecampaignmembersMetadata
$ref: >-
#/node-output/Salesforce Retrieve campaign
members/response
- variable: flowDetails
$ref: '#/flowDetails'
mode: sequential
continue-on-error: true
map:
$map: http://ibm.com/appconnect/map/v1
mappings: []
display-name: Salesforce Campaign Member
assembly-2:
assembly:
execute:
- if:
name: If
input:
- variable: Foreachitem
$ref: '#/block/For each/current-item'
- variable: Trigger
$ref: '#/trigger/payload'
- variable: SalesforceRetrievecampaignmembers
$ref: >-
#/node-output/Salesforce Retrieve campaign
members/response/payload
- variable: SalesforceRetrievecampaignmembersMetadata
$ref: '#/node-output/Salesforce Retrieve campaign members/response'
- variable: flowDetails
$ref: '#/flowDetails'
branch:
- condition:
'{{$Trigger.Status}}': Completed
execute:
- create-action:
name: Google Calendar Create event
target:
$ref: '#/integration/action-interfaces/action-interface-1'
map:
mappings:
- attendees:
foreach:
input: '[0]'
iterator: attendeesItem
mappings:
- email:
template: '{{$Foreachitem.Email}}'
- endTime:
template: '2023-09-05 11:00:00'
- id:
template: >-
[email protected]
- startTime:
template: '2023-09-05 10:00:00'
- summary:
template: '{{$Trigger.Name}}'
- timeZone:
template: Asia/Kolkata
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Foreachitem
$ref: '#/block/For each/current-item'
- variable: Trigger
$ref: '#/trigger/payload'
- variable: SalesforceRetrievecampaignmembers
$ref: >-
#/node-output/Salesforce Retrieve campaign
members/response/payload
- variable: SalesforceRetrievecampaignmembersMetadata
$ref: >-
#/node-output/Salesforce Retrieve campaign
members/response
- variable: flowDetails
$ref: '#/flowDetails'
else:
execute: []
output-schema: {}
name: Create a Google Calendar when a campaign is created in Salesforce for members who have completed the registration
models: {}
Loading
Loading