Manage hcm role provisioning rules

From oracle/Fusion-Setup-Configuration-Registry · View interactive version

Manage hcm role provisioning rules is an AI agent skill from the GitHub repository oracle/Fusion-Setup-Configuration-Registry. Prepare HCM role-provisioning-rule creation, updates, deletion and redesign from user requirements or FSM templates; validate and import supported changes through Data Loader.

How to use this skill

Skill file

Manage HCM Role Provisioning Rules

Purpose

Provide a controlled, cross-pillar method to export, validate, and

approval-gate the import of the Manage HCM Role Provisioning Rules FSM

setup task. Delegate transport and live import execution to the declared shared

and core dependencies. Prepare user-requested rule changes against the supported template.

Export and move the FSM setup task Manage HCM Role Provisioning Rules only

through the declared dependency workflows. The catalog identity is task code

PER_MANAGE_HCM_ROLE_PROVISIONING_RULES; require a current catalog or live-task

lookup to confirm that its export/import flags remain supported before execution.

Scope and boundaries

exact export, a user-supplied fresh FSM archive for this task, or a modified

copy of an export or a verified-template candidate. Revalidate every change.

Job Roles** archive or use this skill to create, update, or redesign job,

abstract, duty, or data roles, role memberships, security profiles, or data

security policies. Route individual role changes to Manage Job Roles or

Manage Duties, and policy changes to Manage Data Security Policies. This skill

accepts create, update, delete and redesign operations for provisioning rules.

shared.setup-export.task-level-export owns export; core.data-loader

owns every import preflight, upload, initiation, and monitoring route.

result as a new request that must pass all gates again.

Required preflight

  1. Resolve the project workspace, requested operation, source and target

environments, and the exact role-provisioning-rule scope. Require source and

target to be distinct for a migration request; require explicit confirmation

for a same-environment restore.

  1. Confirm the exact task name and code with

shared.setup-export.task-level-export and verify its current

CSVExportImportSupportedFlag is Y. If the task is ambiguous, unavailable,

or unsupported, record a catalog-mismatch diagnostic and stop.

  1. Confirm the operator has Functional Setup Manager export access in the

source and Data Loader import privileges in the target. Do not request or

expose credentials, access tokens, or tenant secrets.

  1. Record the source/target identities, task code, scope, and a redacted

execution plan in the project workspace before any side effect.

Export Manage HCM Role Provisioning Rules

  1. Route the export to shared.setup-export.task-level-export with task name

Manage HCM Role Provisioning Rules, task code

PER_MANAGE_HCM_ROLE_PROVISIONING_RULES, the source environment, and

project ID.

  1. Let that skill perform task lookup, support-flag validation, export process

creation, polling, download, and project export persistence. Do not

substitute a template export for a data export.

  1. Preserve the returned ZIP unchanged. Register its path, SHA-256, process ID,

task identity, source environment, and export timestamp as the export record.

  1. On an export timeout or failure, preserve the task code, process ID, last

status, process-log reference, elapsed wait, and next-check path. Do not

start another export process automatically.

Create, update, delete and redesign

Accept these operation requests for this task's own setup objects, including

user-specified individual changes. Prepare supported changes using the target's

FSM template and execute them through core.data-loader; do not reject a

request merely because the user does not already have an input archive.

Read FSM input preparation when preparing a change or helping a user

understand the input. Obtain and safely extract the template, explain its files

and required columns, map supplied business values, and prepare a separate

candidate. Automatically authorize only the necessary template/spec export;

retain Data Loader's validation and actual import approval workflow.

For deletion, verify the explicit supported action for the exact object or

relationship. An omitted CSV row, blank value or unrelated REMOVE action is

not whole-object deletion. If the task has no supported deletion contract,

record that specific operation gap; do not impose a blanket prohibition on all

individual changes or invent a browser/API execution route.

For update or redesign, establish existing keys, preserve unrelated values and

show the intended changes. Intentional changes in the selected target are not

same-environment restores. Apply restore confirmation only to an actual restore.

Template-first import preparation

  1. Unless the user explicitly overrides this sequence, export the task first

and provide that export as the import template before asking for import

content. Explain that the template establishes the supported archive and

file structure; it is not approval to import.

  1. When the user provides an input file, compare it with the export template

for file names, headers, column order, encoding, required values, and

task-specific references. Help correct structural defects in a separate

candidate file; preserve the supplied original and do not silently alter

business values.

  1. Give the user a concise change summary and identify any unresolved values

or references. Use the corrected file only after it conforms to the export

structure and has been assembled into a new candidate archive using the

supported archive shape. That candidate is a new artifact and must pass the

validation and approval gates below.

  1. The user may override the export-first sequence, template choice, or

proposed file corrections at any time. Honor that direction, while retaining

the required task-identity, validation, and immediate import-approval gates.

Validate a fresh or modified archive for import

  1. Require a supplied archive to be a non-empty, readable FSM ZIP. Bind its

SHA-256 to task code PER_MANAGE_HCM_ROLE_PROVISIONING_RULES, source

provenance when known, and target environment. A modified export is a new

source artifact, not a continuation of the original export validation.

  1. Route setup-data validation to shared.validation.setup-data-validator and

preserve the resulting validation evidence. Fail closed on archive-shape,

task-identity, scope, catalog, environment, or privilege mismatch.

  1. Do not alter, unpack-and-repack, merge, or otherwise transform the archive

after validation. Any change invalidates the evidence and approval preview.

Import the validated archive

  1. Route the immutable validated archive to core.data-loader as an FSM,

task-routed import. Provide the task context, target environment, archive

SHA-256, and validation evidence.

  1. Let core.data-loader complete its required source and API validation and

produce its immutable approval preview. This skill must not bypass or replace

the Data Loader route with a direct FSM API, UCM upload, REST call, CSV

utility, or browser action.

  1. Present the exact target environment, task code, archive name and SHA-256,

validation result, and expected impact. Stop before the first POST.

  1. Proceed only after the user gives a separate, immediate approval for that

immutable preview. core.data-loader revalidates the archive and owns the

upload, initiation, process monitoring, and diagnostics.

  1. Do not retry an upload, initiation, import, overwrite, or replacement

process without a fresh approval. Preserve returned request IDs,

process-log references, and redacted diagnostics in the project workspace.

Failure handling

Classify failures as input validation, catalog mismatch, authorization,

transport/environment, Fusion API, process timeout, process failed, artifact

persistence, or approval blocker. Redact credentials, tokens, customer data,

and sensitive security configuration. For any ambiguity or unsafe path, record

the blocker and recommended next action, then stop.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.