Skip to content

Commit

Permalink
shahmini master epic3358 [7] (#378)
Browse files Browse the repository at this point in the history
* shahmini cp4i epic3358 [7]

* epic3358 [7] 

added md for 8 ucs

* epic3358 [7]

* epic3358 [7]

* epic3358 [7]

* epic3358 [7]

* epic3358 [7]

* epic3358 [7]

* epic3358 [7]

* epic3358 [7]

* epic3358 [7]

* Update template-metadata.json

batch 7 shahmini

* Update and rename Create a job requistion in Workday.yaml to Create a job requisition in Workday.yaml

* Update and rename Create a job requistion in Workday_instructions.md to Create a job requisition in Workday_instructions.md

* Update and rename Data integration between Box files and Microsoft Azure Blob storage.yaml to Integrate data between Box files and Microsoft Azure Blob storage.yaml

* Update and rename Data integration between Box files and Microsoft Azure Blob storage_instructions.md to Integrate data between Box files and Microsoft Azure Blob storage_instructions.md

* Update Retrieve a ticket from Zendesk Service based on the ticket severity_instructions.md

* Update template-metadata.json

* Update template-metadata.json

---------

Co-authored-by: Deepak Ayilliath <[email protected]>
  • Loading branch information
shahminiaru and Deepak-Ayilliath authored Jan 22, 2024
1 parent 1775620 commit 873010a
Show file tree
Hide file tree
Showing 17 changed files with 1,353 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
$integration: http://ibm.com/appconnect/integration/v2/integrationFile
integration:
type: trigger-action
trigger-interfaces:
trigger-interface-1:
connector-type: msexcel
type: event-trigger
triggers:
CREATED:
input-context:
data: Row
assembly:
$ref: '#/integration/assemblies/assembly-1'
options:
DriveId: b!cj6fpn_rckezu0EVg2oMOgMC0sfPYdFKvhluqpsZkGU5UFn7wDNpRpM91EGWr_sa
WorkbookId: 01NODPFIV6WLNK4RVUGJG2VTFRHU7FRBVM
WorksheetId: '{00000000-0001-0000-0000-000000000000}'
parentFilter:
DriveId: >-
b!cj6fpn_rckezu0EVg2oMOgMC0sfPYdFKvhluqpsZkGU5UFn7wDNpRpM91EGWr_sa
WorkbookId: 01NODPFIV6WLNK4RVUGJG2VTFRHU7FRBVM
WorksheetId: '{00000000-0001-0000-0000-000000000000}'
action-interfaces:
action-interface-3:
type: api-action
business-object: request
connector-type: http
actions:
INVOKE: {}
assemblies:
assembly-1:
assembly:
execute:
- set-variable:
name: Set variable
map:
$map: http://ibm.com/appconnect/map/v1
customSchemas:
properties.`variable`:
type: object
properties:
topobject:
type: object
properties:
eventresponse:
type: object
properties:
budget:
type: number
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: flowDetails
$ref: '#/flowDetails'
mappings:
- variable:
mappings:
- topobject:
mappings:
- eventresponse:
expression: '$Trigger '
mappings:
- budget:
expression: '100000'
- if:
name: If
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: Setvariable
$ref: '#/node-output/Set variable/response/payload'
- variable: flowDetails
$ref: '#/flowDetails'
branch:
- condition:
'{{$Trigger.rowData.Q}}':
lte: '{{$Setvariable.variable.topobject.eventresponse.budget}}'
execute:
- custom-action:
name: HTTP Invoke method
target:
$ref: '#/integration/action-interfaces/action-interface-3'
action: INVOKE
map:
mappings:
- method:
template: POST
- requestBody:
template: '{{$Setvariable.variable.topobject}}'
- url:
template: >-
https://instance-name/Create a job requisition in Workday/createJob_requisitions
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: RedisGetvalueofstring
$ref: >-
#/node-output/Redis Get value of
string/response/payload
- variable: Setvariable
$ref: '#/node-output/Set variable/response/payload'
- variable: flowDetails
$ref: '#/flowDetails'
else:
execute: []
output-schema: {}
name: Create a job requisition in Workday when a new row is appended in Microsoft Excel Online
models: {}
162 changes: 162 additions & 0 deletions resources/Create a job requisition in Workday.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
$integration: http://ibm.com/appconnect/integration/v2/integrationFile
integration:
type: api
trigger-interfaces:
trigger-interface-1:
triggers:
createJob_requisitions:
assembly:
$ref: '#/integration/assemblies/assembly-1'
input-context:
data: job_requisitions
output-context:
data: job_requisitions
options:
resources:
- business-object: job_requisitions
model:
$ref: '#/models/job_requisitions'
triggers:
create: createJob_requisitions
type: api-trigger
action-interfaces:
action-interface-2:
type: api-action
business-object: Recruiting___Create_Job_Requisition
connector-type: workday
actions:
Create_Job_Requisition: {}
assemblies:
assembly-1:
assembly:
execute:
- custom-action:
name: Workday Create Job Requisition
target:
$ref: '#/integration/action-interfaces/action-interface-2'
action: Create_Job_Requisition
map:
mappings:
- Create_Job_Requisition_Data:
mappings:
- Create_Job_Requisition_Reason_Reference:
mappings:
- ID__NORMALIZED:
mappings:
- Event_Classification_Subcategory_ID:
template: >-
{{$MicrosoftExcelOnlineAppendrow.rowData.B}}
- Job_Requisition_Data:
mappings:
- Job_Description:
template: '{{$MicrosoftExcelOnlineAppendrow.rowData.F}}'
- Job_Description_Summary:
template: '{{$MicrosoftExcelOnlineAppendrow.rowData.E}}'
- Job_Posting_Title:
template: '{{$MicrosoftExcelOnlineAppendrow.rowData.D}}'
- Job_Profile_Reference:
mappings:
- ID__NORMALIZED:
mappings:
- Job_Profile_ID:
template: >-
{{$MicrosoftExcelOnlineAppendrow.rowData.G}}
- Position_Time_Type_Reference:
mappings:
- ID__NORMALIZED:
mappings:
- Position_Time_Type_ID:
template: >-
{{$MicrosoftExcelOnlineAppendrow.rowData.L}}
- Primary_Job_Posting_Location_Reference:
mappings:
- ID__NORMALIZED:
mappings:
- Location_ID:
template: >-
{{$MicrosoftExcelOnlineAppendrow.rowData.K}}
- Primary_Location_Reference:
mappings:
- ID__NORMALIZED:
mappings:
- Location_ID:
template: >-
{{$MicrosoftExcelOnlineAppendrow.rowData.J}}
- Recruiting_Start_Date___Date:
template: '{{$MicrosoftExcelOnlineAppendrow.rowData.N}}'
- Scheduled_Weekly_Hours:
expression: '$MicrosoftExcelOnlineAppendrow.rowData.M '
- Target_End_Date___Date:
template: '{{$MicrosoftExcelOnlineAppendrow.rowData.P}}'
- Target_Hire_Date___Date:
template: '{{$MicrosoftExcelOnlineAppendrow.rowData.O}}'
- Worker_Sub-Type_Reference:
mappings:
- ID__NORMALIZED:
mappings:
- Employee_Type_ID:
template: >-
{{$MicrosoftExcelOnlineAppendrow.rowData.I}}
- Worker_Type_Reference:
mappings:
- ID__NORMALIZED:
mappings:
- Worker_Type_ID:
template: >-
{{$MicrosoftExcelOnlineAppendrow.rowData.H}}
- Number_of_Openings:
expression: '$MicrosoftExcelOnlineAppendrow.rowData.C '
- Supervisory_Organization_Reference:
mappings:
- ID__NORMALIZED:
mappings:
- Organization_Reference_ID:
template: >-
{{$MicrosoftExcelOnlineAppendrow.rowData.A}}
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Request
$ref: '#/trigger/payload'
- variable: flowDetails
$ref: '#/flowDetails'
- response:
name: response-1
reply-maps:
- title: job_requisitions successfully created
status-code: 201
map:
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Request
$ref: '#/trigger/payload'
- variable: WorkdayCreateJobRequisition
$ref: >-
#/node-output/Workday Create Job
Requisition/response/payload
- variable: flowDetails
$ref: '#/flowDetails'
mappings:
- budgetvalue:
expression: '$Request.budgetvalue '
- eventresponse:
expression: '$WorkdayCreateJobRequisition '
input: []
tags:
- incomplete
name: Create a job requisition in Workday
models:
job_requisitions:
name: job_requisitions
properties:
budgetvalue:
required: false
id: true
type: number
eventresponse:
required: false
id: false
type: {}
plural: job_requisitions
description: ' '
operations:
create: '#/integration/assemblies/assembly-1'
Loading

0 comments on commit 873010a

Please sign in to comment.