Skip to content

Add smart-csv-org-loader example (Integration App) - #21

Open
jadiyeom wants to merge 1 commit into
Workday:mainfrom
jadiyeom:add-smart-csv-org-loader
Open

jadiyeom wants to merge 1 commit into
Workday:mainfrom
jadiyeom:add-smart-csv-org-loader

Conversation

@jadiyeom

Copy link
Copy Markdown

What this PR adds or changes

Adds examples/smart-csv-org-loader: an Extend app and async orchestration that loads organization assignment changes from a flat one-row-per-worker CSV, instead of multi-row Assign Organization EIB spreadsheets. It pre-validates workers, positions, dates and duplicates with WQL, calls Staffing Change_Organization_Assignments (v42.0) in the background, and writes each row's COMPLETED or SOAP_FAULT result back to a business object shown in Batch history.

Checklist for new or changed examples

  • The example lives entirely in its own folder under examples/
  • node scripts/validate-examples.mjs --check passes (valid example.json, README present, index table in sync)
  • The README says what the artifact is, how to use it, and what to change before deploying it (the "Before you deploy" section)
  • No credentials, tenant names, or real personal data anywhere in the folder
  • node scripts/audit-examples.mjs --changed passes (run with --skip-arcane; Arcane Auditor wasn't available locally)

Anything reviewers should know?

  • Tested end to end in a development tenant (Oct 2026), covering valid loads, SOAP faults surfaced per row, and a 47-row file in one async launch that finished in about a minute.
  • The orchestration is async (MixedFlow/MixedStart, modelled on catalog/orchestrationToolkit), because synchronous launches hit a ~24s timeout at about 15 rows.
  • Organization IDs aren't pre-checked with WQL (FROM organizations returned 400 in my tenant), so Workday validates them at load.
  • Not yet observed: an approval-routed change, or a successful custom organization assignment.

Copilot AI balanced review requested due to automatic review settings October 15, 2026 14:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants