Manage Departments Setup Task Guidance
Purpose
Provides task-specific setup planning, routing, export, import, and validation guidance for Manage Departments under Departments.
Task Overview
Use this task to plan and govern Manage Departments configuration in Global Human Resources.
- Task identity:
PER_MANAGE_DEPARTMENT— Manage Departments. - Scope: HCM → Global Human Resources → Departments.
- Catalog routing: CSV export/import support is
Y; the declared Data Loader mode isRESTwithOrganization. - Read next: task contract and usage. Follow the task-specific routing, approvals, and restrictions in the detailed sections below.
Setup Task Skill Contract
- task_code:
PER_MANAGE_DEPARTMENT - task_name:
Manage Departments - parent_skill_id:
hcm.global-human-resources.departments - pillar:
HCM - offering:
Global Human Resources - functional_area:
Departments - functional_area_code:
ORA_DEPARTMENTS - available_flag:
Y - export_import_supported_flag:
Y - csv_export_import_supported_flag:
Y - dataloader_import_mode:
REST - businessObject:
Organization - source_catalog:
knowledge/setup-task-catalog/effective/setupTasksAll.json
Prepare Fusion Data Loader DAT Source
Use this workflow when dataloader_import_mode: "REST" and a Fusion Data Loader sample is needed for the task’s business object.
- Confirm that
Organizationis the exact registered Data Loader business object. - Generate the default Department source as a DAT through
core.data-loader:
```bash
python3 core/data-loader/scripts/generate_sample_dat.py \
"Organization" \
--format dat \
--output-dir "<project-artifact-directory>"
```
When the request includes an Organization Information/EFF row, generate the
full editable XLSX instead (omit --format dat). The XLSX preserves the
selected context segment columns; core.data-loader converts the reviewed
XLSX internally to DAT/ZIP for validation and submission.
- Keep the generated DAT and attribute-details workbook together.
- Set
EFF_CATEGORY_CODEtoDEPARTMENTfor Department EFF rows. - Populate only current-template-supported attributes, then validate the exact generated source with
core.data-loader. OmitOrgInformationunless the user explicitly requests an Organization Information/EFF change and supplies its required context and values; do not add that row merely because the live template exposes it. For an EFF request, populate only the selected context and its required or modified segments in the generated XLSX; do not hand-author a DAT or reuse a source from another environment or template. - For a Department read, edit, inactivation, or effective-split deletion, establish identity through one exact current Department lookup using the supplied Department name. Never request, display, or author an internal code or source-system key as a Department selector. Keep source-system columns blank unless the user explicitly asks to set or change that source-system pair.
- Preserve the generated root discriminator filename,
Organization.dat; a renamed DAT path cannot be assumed to match the registered business object. - Use the validated DAT, or the validated EFF XLSX with its internally converted DAT, as the later Data Loader source. Bind approval to the reviewed source SHA-256, the internal DAT SHA-256 when converted, and the prepared ZIP SHA-256.
Usage
Use this skill when planning, sequencing, exporting, importing, or validating setup data for Manage Departments under Departments.
Setup Task Metadata
- Task name:
Manage Departments - Task code:
PER_MANAGE_DEPARTMENT - Available:
Y - Export/import supported:
Y - CSV export/import supported:
Y - CSV export/import routing:
supported - Data Loader import mode:
REST - Business Object:
Organization
CSV Export, Import, and Validation Workflow
CSVExportImportSupportedFlag is Y for this task, so route task setup data work through the relevant skills:
- Export setup task data with
shared.setup-export.task-level-export. - Validate setup task data with
shared.validation.setup-data-validator. - Validate reference data with
shared.validation.reference-data-validator. - Import setup task data with
core.data-loaderusing Organization as the BusinessObject.
CRUD Routing
- Run export only when explicitly requested.
- Read departments through
/hcmRestApi/resources/{version}/departments. - For create, edit, inactivate, or delete one or more future date-effective splits, run applicable declared reads and task rules, then invoke
core.data-loaderwith the generated, validated Department source, task metadata, project context, business object, operation, and resolved business values. Use the generated, validatedOrganization.datpath for a base-only request; use the full generatedOrganization.xlsxfor an Organization Information/EFF request so Core can convert it internally to DAT/ZIP. For a future-split deletion, use the full generatedOrganization.xlsxwith the bounded OrganizationMERGErange, at least one operation-requiredOrgUnitClassificationassociation, and oneData Loader Directivesrow:SET PURGE_FUTURE_CHANGES Y. Core converts that reviewed workbook internally to DAT/ZIP; do not put the directive inData Loader Map, use an HDLDELETEinstruction, or delete the logical Department record. Follow Core through immutable ZIP preview, then wait for standaloneapprove; after execution, reread the history.
Use this task metadata when invoking those skills:
- Offering:
Global Human Resources - Functional area / Setup Object:
Departments - Setup task name:
Manage Departments - Setup task code:
PER_MANAGE_DEPARTMENT
Uniform Authoring and Read Contract
- Interpret each supplied business attribute within its intended parent or child section using the current operation-specific Data Loader metadata and REST
describe. Match the exact technical name first, then an exact normalized display label or declared alias, then one unique case-, space-, and punctuation-insensitive match. If multiple fields remain plausible, show their business labels and ask the user to choose; if none match, report the field as unsupported. Never guess or copy a value between fields. - For create or edit, map only resolved user values to the exact business-object section, resolve references through declared task resolvers, preserve omitted existing values, and author only requested or operation-required rows and fields through the existing mutation route.
- Determine mandatory input only from current operation-specific metadata and operation-required business identity. Never require or populate a nonmandatory field merely because it appears in a template, example, or response. EFF or Additional Information contexts and segments are always optional and must never be requested as a prerequisite; emit an EFF row only when the user explicitly requests that change, using only its resolved context, identity, changed values, and any fields current metadata requires for that included row.
- Never hard-code a business value from an example. Apply a fixed default only when the task defaulting rules and current metadata confirm it for the exact operation; otherwise omit an optional field or ask only when current metadata marks it required. Fixed technical discriminators are allowed only where the task contract requires them to identify the exact business-object section.
- For a normal read, present business-facing labels and values. Do not show WHO or history columns such as
CreatedBy,CreationDate,LastUpdatedBy,LastUpdateDate, orLastUpdateLogin, or primary/surrogate identifiers, unless the user explicitly asks for them; retain identifiers internally for linking and mutation. - When the user asks for complete details, read the exact parent without a restrictive field projection, expand every task-supported child or EFF collection by following server-returned links, paginate every collection, and return all current business attributes and child values after the same WHO/ID filtering. State when no supported child collection exists or none is returned; never invent a child path.
Inputs
implementation_objectiveproject_contextsetup_task_scopesetup_data_artifacts
Outputs
setup_task_plansetup_data_routingvalidation_checkpointsskill_run_recordtoken_usage_record
Implementation Notes
Use the parent functional-area skill hcm.global-human-resources.departments for functional-area sequencing and scope decisions. Track token usage for any generated project artifact or skill-run record using the manifest policy.