-
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.
Q4 connector shahmini master [1] (#392)
* Q4 connector shahmini * Q4 connector shahmini * Q4 connector shahmini * Q4 connector shahmini * q4 connector shahmini * Update template-metadata.json 8UCs for Q4 connector shahmini * Update template-metadata.json Add as a member to a group in Google Groups for employee retrieved from Microsoft Dynamics 365 Finance and Operations * Q4 connector shahmini Add as a member to a group in Google Groups for employee retrieved from Microsoft Dynamics 365 Finance and Operations * Q4 connector shahmini Add as a member to a group in Google Groups for employee retrieved from Microsoft Dynamics 365 Finance and Operations.yaml * shahmini q4 connectors Amazon Redshift * shahmini quarter 4 Create a new row in a Google Sheets spreadsheet for each new employee retrieved from the Amazon Redshift record_instructions.md * shahmini quarter 4 Data integration between IBM Could Object Storage S3 and Amazon Redshift_instructions.md * shahmini quarter 4 MySQL * shahmini quarter 4 Use this template to create a new row in a Google Sheets worksheet for each new opportunity retrieved from the MySQL record * shahmini redshift Update Data integration between IBM Could Object Storage S3 and Amazon Redshift_instructions.md * shahmini separating this uc to another pr - Create a new row in a Google Sheets spreadsheet for each new employee retrieved from the Amazon Redshift record * shahmini Create a new row in a Google Sheets spreadsheet for each new employee retrieved from the Amazon Redshift record * shahmini Separating into a different PR - Data integration between IBM Could Object Storage S3 and Amazon Redshift * shahmini Separating into a different PR - Data integration between IBM Could Object Storage S3 and Amazon Redshift * shahmini Separating into a different PR - Create a new row in a Google Sheets worksheet for each new opportunity retrieved from the MySQL record * shahmini Separating into a different PR - Create a new row in a Google Sheets worksheet for each new opportunity retrieved from the MySQL record * shahmini q4 Add a group member in Google Groups for each employee retrieved from Microsoft Dynamics 365 Finance and Operations * shahminiq4 Add a group member in Google Groups for each employee retrieved from Microsoft Dynamics 365 Finance and Operations * shahmini q4 updates * shahmini q4 updates * Update template-metadata.json shahmini
- Loading branch information
1 parent
b62366d
commit bfba3f3
Showing
17 changed files
with
2,223 additions
and
0 deletions.
There are no files selected for viewing
304 changes: 304 additions & 0 deletions
304
...roups for each employee retrieved from Microsoft Dynamics 365 Finance and Operations.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,304 @@ | ||
$integration: http://ibm.com/appconnect/integration/v2/integrationFile | ||
integration: | ||
type: trigger-action | ||
trigger-interfaces: | ||
trigger-interface-1: | ||
connector-type: streaming-connector-scheduler | ||
type: event-trigger | ||
triggers: | ||
SCHEDULE: | ||
input-context: | ||
data: scheduler | ||
assembly: | ||
$ref: '#/integration/assemblies/assembly-1' | ||
options: | ||
subscription: | ||
scheduleConfiguration: | ||
interval: | ||
unit: minute | ||
value: 1 | ||
runOnceOncheck: true | ||
days: | ||
- MON | ||
- TUE | ||
- WED | ||
- THU | ||
- FRI | ||
- SAT | ||
- SUN | ||
timeZone: UTC | ||
action-interfaces: | ||
action-interface-1: | ||
type: api-action | ||
business-object: Employee | ||
connector-type: msdynamicsfando | ||
actions: | ||
RETRIEVEALL: {} | ||
action-interface-2: | ||
type: api-action | ||
business-object: getAdminDirectoryV1Groups_model | ||
connector-type: googlegroups | ||
actions: | ||
RETRIEVEALL: {} | ||
action-interface-3: | ||
type: api-action | ||
business-object: postAdminDirectoryV1GroupsByGroupKeyMembers_model | ||
connector-type: googlegroups | ||
actions: | ||
postAdminDirectoryV1GroupsByGroupKeyMembers: {} | ||
action-interface-4: | ||
type: api-action | ||
business-object: postAdminDirectoryV1Groups_model | ||
connector-type: googlegroups | ||
actions: | ||
postAdminDirectoryV1Groups: {} | ||
action-interface-5: | ||
type: api-action | ||
business-object: postAdminDirectoryV1GroupsByGroupKeyMembers_model | ||
connector-type: googlegroups | ||
actions: | ||
postAdminDirectoryV1GroupsByGroupKeyMembers: {} | ||
assemblies: | ||
assembly-1: | ||
assembly: | ||
execute: | ||
- retrieve-action: | ||
name: >- | ||
Microsoft Dynamics 365 for Finance and Operations Retrieve | ||
employees | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-1' | ||
filter: | ||
where: | ||
EmploymentStartDate: '2023-08-15T16:53:00.000Z' | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
limit: 10 | ||
allow-truncation: true | ||
pagination-type: SKIP_LIMIT | ||
allow-empty-output: false | ||
- for-each: | ||
name: For each | ||
assembly: | ||
$ref: '#/integration/assemblies/assembly-2' | ||
source: | ||
expression: '$MicrosoftDynamics365forFinanceandOperationsRetrieveemployees ' | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: >- | ||
MicrosoftDynamics365forFinanceandOperationsRetrieveemployees | ||
$ref: >- | ||
#/node-output/Microsoft Dynamics 365 for Finance and | ||
Operations Retrieve employees/response/payload | ||
- variable: >- | ||
MicrosoftDynamics365forFinanceandOperationsRetrieveemployeesMetadata | ||
$ref: >- | ||
#/node-output/Microsoft Dynamics 365 for Finance and | ||
Operations Retrieve employees/response | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
mode: sequential | ||
continue-on-error: true | ||
map: | ||
$map: http://ibm.com/appconnect/map/v1 | ||
mappings: [] | ||
display-name: Microsoft Dynamics 365 for Finance and Operations Employee | ||
assembly-2: | ||
assembly: | ||
execute: | ||
- retrieve-action: | ||
name: Google Groups Retrieve groups | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-2' | ||
filter: | ||
where: | ||
email: '{{$Foreachitem.OfficeLocation}}@ibmappcon.com' | ||
input: | ||
- variable: Foreachitem | ||
$ref: '#/block/For each/current-item' | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: >- | ||
MicrosoftDynamics365forFinanceandOperationsRetrieveemployees | ||
$ref: >- | ||
#/node-output/Microsoft Dynamics 365 for Finance and | ||
Operations Retrieve employees/response/payload | ||
- variable: >- | ||
MicrosoftDynamics365forFinanceandOperationsRetrieveemployeesMetadata | ||
$ref: >- | ||
#/node-output/Microsoft Dynamics 365 for Finance and | ||
Operations Retrieve employees/response | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
limit: 10 | ||
allow-truncation: true | ||
pagination-type: TOKEN | ||
allow-empty-output: true | ||
- if: | ||
name: If | ||
input: | ||
- variable: Foreachitem | ||
$ref: '#/block/For each/current-item' | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: GoogleGroupsRetrievegroups | ||
$ref: >- | ||
#/block/For each/node-output/Google Groups Retrieve | ||
groups/response/payload | ||
- variable: GoogleGroupsRetrievegroupsMetadata | ||
$ref: >- | ||
#/block/For each/node-output/Google Groups Retrieve | ||
groups/response | ||
- variable: MicrosoftDynamics365forFinanceandOperationsRetrieveemployees | ||
$ref: >- | ||
#/node-output/Microsoft Dynamics 365 for Finance and | ||
Operations Retrieve employees/response/payload | ||
- variable: >- | ||
MicrosoftDynamics365forFinanceandOperationsRetrieveemployeesMetadata | ||
$ref: >- | ||
#/node-output/Microsoft Dynamics 365 for Finance and | ||
Operations Retrieve employees/response | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
branch: | ||
- condition: | ||
'{{$GoogleGroupsRetrievegroupsMetadata."status-code"}}': | ||
neq: '204' | ||
execute: | ||
- custom-action: | ||
name: Google Groups Add member to group | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-3' | ||
action: postAdminDirectoryV1GroupsByGroupKeyMembers | ||
map: | ||
mappings: | ||
- ___type: | ||
template: EXTERNAL | ||
- delivery_settings: | ||
template: ALL_MAIL | ||
- email: | ||
template: '{{$Foreachitem.PrimaryContactEmail}}' | ||
- groupKey: | ||
template: '{{$Foreachitem.OfficeLocation}}@ibmappcon.com' | ||
- role: | ||
template: MEMBER | ||
$map: http://ibm.com/appconnect/map/v1 | ||
input: | ||
- variable: Foreachitem | ||
$ref: '#/block/For each/current-item' | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: GoogleGroupsRetrievegroups | ||
$ref: >- | ||
#/block/For each/node-output/Google Groups | ||
Retrieve groups/response/payload | ||
- variable: GoogleGroupsRetrievegroupsMetadata | ||
$ref: >- | ||
#/block/For each/node-output/Google Groups | ||
Retrieve groups/response | ||
- variable: >- | ||
MicrosoftDynamics365forFinanceandOperationsRetrieveemployees | ||
$ref: >- | ||
#/node-output/Microsoft Dynamics 365 for Finance | ||
and Operations Retrieve | ||
employees/response/payload | ||
- variable: >- | ||
MicrosoftDynamics365forFinanceandOperationsRetrieveemployeesMetadata | ||
$ref: >- | ||
#/node-output/Microsoft Dynamics 365 for Finance | ||
and Operations Retrieve employees/response | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
else: | ||
execute: | ||
- custom-action: | ||
name: Google Groups Create group | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-4' | ||
action: postAdminDirectoryV1Groups | ||
map: | ||
mappings: | ||
- email: | ||
template: '{{$Foreachitem.OfficeLocation}}@ibmappcon.com' | ||
- name: | ||
template: '{{$Foreachitem.OfficeLocation}}' | ||
$map: http://ibm.com/appconnect/map/v1 | ||
input: | ||
- variable: Foreachitem | ||
$ref: '#/block/For each/current-item' | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: GoogleGroupsRetrievegroups | ||
$ref: >- | ||
#/block/For each/node-output/Google Groups | ||
Retrieve groups/response/payload | ||
- variable: GoogleGroupsRetrievegroupsMetadata | ||
$ref: >- | ||
#/block/For each/node-output/Google Groups | ||
Retrieve groups/response | ||
- variable: >- | ||
MicrosoftDynamics365forFinanceandOperationsRetrieveemployees | ||
$ref: >- | ||
#/node-output/Microsoft Dynamics 365 for Finance | ||
and Operations Retrieve employees/response/payload | ||
- variable: >- | ||
MicrosoftDynamics365forFinanceandOperationsRetrieveemployeesMetadata | ||
$ref: >- | ||
#/node-output/Microsoft Dynamics 365 for Finance | ||
and Operations Retrieve employees/response | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
- custom-action: | ||
name: Google Groups Add member to group 2 | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-5' | ||
action: postAdminDirectoryV1GroupsByGroupKeyMembers | ||
map: | ||
mappings: | ||
- ___type: | ||
template: EXTERNAL | ||
- delivery_settings: | ||
template: ALL_MAIL | ||
- email: | ||
template: '{{$Foreachitem.PrimaryContactEmail}}' | ||
- groupKey: | ||
template: '{{$GoogleGroupsCreategroup.email}}' | ||
- role: | ||
template: MEMBER | ||
$map: http://ibm.com/appconnect/map/v1 | ||
input: | ||
- variable: Foreachitem | ||
$ref: '#/block/For each/current-item' | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: GoogleGroupsCreategroup | ||
$ref: >- | ||
#/block/If/node-output/Google Groups Create | ||
group/response/payload | ||
- variable: GoogleGroupsRetrievegroups | ||
$ref: >- | ||
#/block/For each/node-output/Google Groups | ||
Retrieve groups/response/payload | ||
- variable: GoogleGroupsRetrievegroupsMetadata | ||
$ref: >- | ||
#/block/For each/node-output/Google Groups | ||
Retrieve groups/response | ||
- variable: >- | ||
MicrosoftDynamics365forFinanceandOperationsRetrieveemployees | ||
$ref: >- | ||
#/node-output/Microsoft Dynamics 365 for Finance | ||
and Operations Retrieve employees/response/payload | ||
- variable: >- | ||
MicrosoftDynamics365forFinanceandOperationsRetrieveemployeesMetadata | ||
$ref: >- | ||
#/node-output/Microsoft Dynamics 365 for Finance | ||
and Operations Retrieve employees/response | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
output-schema: {} | ||
name: Add a group member in Google Groups for each employee retrieved from Microsoft Dynamics 365 Finance and Operations | ||
models: {} |
Oops, something went wrong.