-
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 Batch 3 Adding templates for existing connectors: Salesforce, Oracle HCM Total 10 UCs * shahmini master epic3358 9 md files * shahmini master epic3358 Create a candidate in Oracle HCM for each candidate who has a unique email address from Workday * shahmini master epic3358 Create a candidate in Oracle HCM for each candidate who has a unique email address from Workday_instructions.md * Update template-metadata.json * Update Create a candidate in Oracle HCM for each candidate who has a unique email address from Workday_instructions.md * Update Create a file in a specific folder in Box with Salesforce opportunity details_instructions.md * Update Create a file in a specific folder in Box with Salesforce opportunity details_instructions.md * shahmini epic3358 * batch3 epic3358 * batch3 epic3358 * batch3 epic3358 * batch3 epic3358 * batch3 epic3358 * batch3 epic3358 * batch3 epic3358 * batch3 epic3358 --------- Co-authored-by: Deepak Ayilliath <[email protected]>
- Loading branch information
1 parent
ce344ce
commit 507934f
Showing
21 changed files
with
1,657 additions
and
0 deletions.
There are no files selected for viewing
243 changes: 243 additions & 0 deletions
243
...ndidate in Oracle HCM for each candidate who has a unique email address from Workday.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,243 @@ | ||
$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: false | ||
days: | ||
- MON | ||
- TUE | ||
- WED | ||
- THU | ||
- FRI | ||
- SAT | ||
- SUN | ||
timeZone: UTC | ||
action-interfaces: | ||
action-interface-1: | ||
type: api-action | ||
business-object: Recruiting___Get_Candidates | ||
connector-type: workday | ||
actions: | ||
Get_Candidates: {} | ||
action-interface-2: | ||
type: api-action | ||
business-object: candidate | ||
connector-type: oraclehcm | ||
actions: | ||
RETRIEVEALL: {} | ||
action-interface-3: | ||
type: api-action | ||
business-object: candidate | ||
connector-type: oraclehcm | ||
actions: | ||
CREATE: {} | ||
action-interface-4: | ||
type: api-action | ||
business-object: message | ||
connector-type: slack | ||
actions: | ||
CREATE: {} | ||
assemblies: | ||
assembly-1: | ||
assembly: | ||
execute: | ||
- custom-action: | ||
name: Workday Get Candidates | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-1' | ||
action: Get_Candidates | ||
map: | ||
$map: http://ibm.com/appconnect/map/v1 | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
mappings: [] | ||
- for-each: | ||
name: For each | ||
assembly: | ||
$ref: '#/integration/assemblies/assembly-2' | ||
source: | ||
expression: '$WorkdayGetCandidates ' | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: WorkdayGetCandidates | ||
$ref: '#/node-output/Workday Get Candidates/response/payload' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
mode: sequential | ||
continue-on-error: true | ||
map: | ||
$map: http://ibm.com/appconnect/map/v1 | ||
mappings: [] | ||
display-name: Workday Recruiting___Get_Candidates | ||
assembly-2: | ||
assembly: | ||
execute: | ||
- retrieve-action: | ||
name: Oracle Human Capital Management Retrieve candidates | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-2' | ||
filter: | ||
limit: 10 | ||
allow-truncation: true | ||
pagination-type: SKIP_LIMIT | ||
allow-empty-output: true | ||
- for-each: | ||
name: For each 2 | ||
assembly: | ||
$ref: '#/integration/assemblies/assembly-3' | ||
source: | ||
expression: '$OracleHumanCapitalManagementRetrievecandidates ' | ||
input: | ||
- variable: Foreachitem | ||
$ref: '#/block/For each/current-item' | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: OracleHumanCapitalManagementRetrievecandidates | ||
$ref: >- | ||
#/block/For each/node-output/Oracle Human Capital | ||
Management Retrieve candidates/response/payload | ||
- variable: OracleHumanCapitalManagementRetrievecandidatesMetadata | ||
$ref: >- | ||
#/block/For each/node-output/Oracle Human Capital | ||
Management Retrieve candidates/response | ||
- variable: WorkdayGetCandidates | ||
$ref: '#/node-output/Workday Get Candidates/response/payload' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
mode: sequential | ||
continue-on-error: true | ||
map: | ||
$map: http://ibm.com/appconnect/map/v1 | ||
mappings: [] | ||
display-name: Oracle Human Capital Management candidate | ||
assembly-3: | ||
assembly: | ||
execute: | ||
- if: | ||
name: If | ||
input: | ||
- variable: Foreach2item | ||
$ref: '#/block/For each 2/current-item' | ||
- variable: Foreachitem | ||
$ref: '#/block/For each/current-item' | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: OracleHumanCapitalManagementRetrievecandidates | ||
$ref: >- | ||
#/block/For each/node-output/Oracle Human Capital Management | ||
Retrieve candidates/response/payload | ||
- variable: OracleHumanCapitalManagementRetrievecandidatesMetadata | ||
$ref: >- | ||
#/block/For each/node-output/Oracle Human Capital Management | ||
Retrieve candidates/response | ||
- variable: WorkdayGetCandidates | ||
$ref: '#/node-output/Workday Get Candidates/response/payload' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
branch: | ||
- condition: | ||
'{{$Foreachitem.Response_Data.Candidate[0].Candidate_Data.Contact_Data.Email_Address}}': | ||
neq: '{{$Foreach2item.Email}}' | ||
execute: | ||
- create-action: | ||
name: Oracle Human Capital Management Create candidate | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-3' | ||
map: | ||
mappings: | ||
- Email: | ||
template: >- | ||
{{$Foreachitem.Response_Data.Candidate.Candidate_Data.Contact_Data.Email_Address}} | ||
- FirstName: | ||
template: >- | ||
{{$Foreachitem.Response_Data.Candidate[0].Candidate_Data.Name_Data.Legal_Name.Name_Detail_Data.First_Name}} | ||
- LastName: | ||
template: >- | ||
{{$Foreachitem.Response_Data.Candidate[0].Candidate_Data.Name_Data.Legal_Name.Name_Detail_Data.Last_Name}} | ||
- SourceName: | ||
template: LinkedIn | ||
$map: http://ibm.com/appconnect/map/v1 | ||
input: | ||
- variable: Foreach2item | ||
$ref: '#/block/For each 2/current-item' | ||
- variable: Foreachitem | ||
$ref: '#/block/For each/current-item' | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: OracleHumanCapitalManagementRetrievecandidates | ||
$ref: >- | ||
#/block/For each/node-output/Oracle Human | ||
Capital Management Retrieve | ||
candidates/response/payload | ||
- variable: >- | ||
OracleHumanCapitalManagementRetrievecandidatesMetadata | ||
$ref: >- | ||
#/block/For each/node-output/Oracle Human | ||
Capital Management Retrieve candidates/response | ||
- variable: WorkdayGetCandidates | ||
$ref: >- | ||
#/node-output/Workday Get | ||
Candidates/response/payload | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
else: | ||
execute: | ||
- create-action: | ||
name: Slack Send message | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-4' | ||
map: | ||
mappings: | ||
- OBJECT_ID: | ||
template: C04FRCNTLLX | ||
- OBJECT_NAME: | ||
template: channel | ||
- text: | ||
template: >- | ||
This candidate already exists | ||
{{$Foreachitem.Response_Data.Candidate.Candidate_Data.Name_Data.Legal_Name.Name_Detail_Data.Full_Name}} | ||
$map: http://ibm.com/appconnect/map/v1 | ||
input: | ||
- variable: Foreach2item | ||
$ref: '#/block/For each 2/current-item' | ||
- variable: Foreachitem | ||
$ref: '#/block/For each/current-item' | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: OracleHumanCapitalManagementRetrievecandidates | ||
$ref: >- | ||
#/block/For each/node-output/Oracle Human Capital | ||
Management Retrieve candidates/response/payload | ||
- variable: >- | ||
OracleHumanCapitalManagementRetrievecandidatesMetadata | ||
$ref: >- | ||
#/block/For each/node-output/Oracle Human Capital | ||
Management Retrieve candidates/response | ||
- variable: WorkdayGetCandidates | ||
$ref: >- | ||
#/node-output/Workday Get | ||
Candidates/response/payload | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
output-schema: {} | ||
name: Create a candidate in Oracle HCM for each candidate who has a unique email address from Workday | ||
models: {} |
56 changes: 56 additions & 0 deletions
56
resources/Create a case in Salesforce whenever a new issue is created in Jira.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,56 @@ | ||
$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: Issue | ||
assembly: | ||
$ref: '#/integration/assemblies/assembly-1' | ||
options: | ||
key: WOR | ||
parentFilter: | ||
key: WOR | ||
subscription: | ||
createdField: dateCreated | ||
updatedField: dateModified | ||
timeFormat: YYYY-MM-DDTHH:mm:ssZ | ||
timeZone: UTC | ||
pollingInterval: '5' | ||
connector-type: jira | ||
action-interfaces: | ||
action-interface-2: | ||
type: api-action | ||
business-object: Case | ||
connector-type: salesforce | ||
actions: | ||
CREATE: {} | ||
assemblies: | ||
assembly-1: | ||
assembly: | ||
execute: | ||
- create-action: | ||
name: Salesforce Create case | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-2' | ||
map: | ||
mappings: | ||
- Description: | ||
template: JIRA Reference - {{$Trigger.id}} | ||
- Subject: | ||
template: JIRA Reference - {{$Trigger.id}} | ||
- SuppliedEmail: | ||
template: '{{$Trigger.fields.creator.emailAddress}}' | ||
- SuppliedName: | ||
template: '{{$Trigger.fields.creator.name}}' | ||
$map: http://ibm.com/appconnect/map/v1 | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
name: Create a case in Salesforce whenever a new issue is created in Jira | ||
models: {} |
85 changes: 85 additions & 0 deletions
85
resources/Create a file in a specific folder in Box with Salesforce opportunity details.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,85 @@ | ||
$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: | ||
calendar: | ||
cronExp: 00 00 * * * | ||
runOnceOncheck: true | ||
timeZone: UTC | ||
every: day | ||
action-interfaces: | ||
action-interface-3: | ||
type: api-action | ||
business-object: Opportunity | ||
connector-type: salesforce | ||
actions: | ||
RETRIEVEALL: {} | ||
action-interface-1: | ||
type: api-action | ||
business-object: File | ||
connector-type: box | ||
actions: | ||
CREATE: {} | ||
assemblies: | ||
assembly-1: | ||
assembly: | ||
execute: | ||
- retrieve-action: | ||
name: Salesforce Retrieve opportunities | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-3' | ||
filter: | ||
where: | ||
CreatedDate: | ||
gte: '{{$Trigger.lastEventTime}}' | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
limit: 200 | ||
allow-truncation: true | ||
pagination-type: TOKEN | ||
allow-empty-output: true | ||
- create-action: | ||
name: Box Create file 2 | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-1' | ||
map: | ||
mappings: | ||
- content: | ||
template: '{{$SalesforceRetrieveopportunities}}' | ||
- fileType: | ||
template: Text | ||
- name: | ||
template: >- | ||
{{$formatDate($toMillis($Trigger.currentEventTime), | ||
"YYYY-MM-DD")}}.csv | ||
- parent_id: | ||
template: '215857097279' | ||
$map: http://ibm.com/appconnect/map/v1 | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: SalesforceRetrieveopportunities | ||
$ref: >- | ||
#/node-output/Salesforce Retrieve | ||
opportunities/response/payload | ||
- variable: SalesforceRetrieveopportunitiesMetadata | ||
$ref: '#/node-output/Salesforce Retrieve opportunities/response' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
name: Create a file in a specific folder in Box with Salesforce opportunity details | ||
models: {} |
Oops, something went wrong.