feat(workday): block + tools + misc fixes#3663
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryHigh Risk Overview Updates local file handling by making Written by Cursor Bugbot for commit e74a668. Configure here. |
Greptile SummaryThis PR introduces a new Workday block and 10 HRIS tool integrations (get worker, list workers, create pre-hire, hire employee, update worker, assign onboarding, get organizations, change job, get compensation, terminate worker) using the Key issues found:
Confidence Score: 2/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant UI as Sim Block UI
participant API as Next.js API Route
participant SOAP as soap.createClientAsync
participant WD as Workday SOAP API
UI->>API: POST /api/tools/workday/{operation}
API->>API: checkInternalAuth()
API->>API: RequestSchema.parse(body)
API->>SOAP: createWorkdaySoapClient(tenantUrl, tenant, service, user, pass)
SOAP->>WD: GET {tenantUrl}/ccx/service/{tenant}/{svc}/{version}?wsdl
WD-->>SOAP: WSDL XML
SOAP-->>API: WorkdayClient (with BasicAuth)
alt create_prehire
API->>WD: Put_ApplicantAsync(Applicant_Data)
WD-->>API: Applicant_Reference
API-->>UI: { preHireId, descriptor }
else hire_employee
API->>WD: Hire_EmployeeAsync(Hire_Employee_Data)
WD-->>API: Employee_Reference, Event_Reference
API-->>UI: { workerId, employeeId, eventId, hireDate }
else assign_onboarding
API->>WD: Put_Onboarding_Plan_AssignmentAsync(Assignment_Data)
WD-->>API: Onboarding_Plan_Assignment_Reference
API-->>UI: { assignmentId, workerId, planId }
else terminate_worker
API->>WD: Terminate_EmployeeAsync(Terminate_Employee_Data)
WD-->>API: Event_Reference
API-->>UI: { eventId, workerId, terminationDate }
else get_compensation
API->>WD: Get_WorkersAsync(Include_Compensation: true)
WD-->>API: Worker with Compensation_Plan_Assignment[]
API-->>UI: { compensationPlans } (raw SOAP data)
end
Last reviewed commit: "more type fixes" |
|
bugbot run |
|
bugbot run |
|
bugbot run |
|
@greptile |
|
bugbot run |
|
bugbot run |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Summary
Tools related to employee onboarding
Type of Change
Testing
To be tested in staging env
Checklist