Data capture rules

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

Data capture rules is an AI agent skill from the GitHub repository oracle/Fusion-Setup-Configuration-Registry. Answers source-backed questions about Data Capture Rules, including purpose, setup, lifecycle and status, fields, criteria, rank, rule attributes, translations, agentic UI authoring prompts, relationships, prerequisites, Security Console role provisioning, profile options, roles, privileges, permiss

How to use this skill

Skill file

Data Capture Rules Guidance and Read Operations

Purpose

Answer source-backed questions about Data Capture Rules and, when the routed

project workflow selects a live read, list, filter, or retrieve Data Capture

Rules for setup task CUSTOM_DATA_CAPTURE_RULES. Keep executable operations

strictly read-only.

Question and Execution Scope

Handle conceptual, model, lifecycle, setup, security, API, live-read,

troubleshooting, import/export, write-support, and help-source questions. Use

the response statuses in

../references/sales-orchestration-question-routing.md so every material part

is answered from source, clarified, routed, marked as a source gap, or refused

safely.

An explanatory question does not authorize authentication or a Fusion call.

Only these live operations are executable:

POST .../dataCaptureRules/$query endpoint.

Treat CREATE, UPDATE, DELETE, PATCH, PUT, and bulk-write requests as

unsupported. This includes requests to create, generate, draft, or sample a

Data Capture Rule, even when the user asks only for a local blueprint or

example. Return UNSUPPORTED from this skill and stop. Do not route the

request to the parent Sales Orchestration skill or another skill, and do not

produce a blueprint, payload, preview, project artifact, approval request, or

write call.

A request for copy-ready text to enter in the Fusion Data Capture Rules UI is

an EXPLAIN request, not a mutation request. It is allowed only as prompt

guidance under references/data-capture-rules-agentic-prompts.md; stop at the

prompt text and do not turn it into a rule blueprint, payload, preview, or live

Fusion operation.

Treat every POST as unsupported except the exact documented

dataCaptureRules/$query semantic-read endpoint. Questions about documented

Create, Update, or Delete security prerequisites remain guidance requests, not

mutation authorization. Data Loader does not currently support the applicable

BOSS REST endpoints. Write support may be introduced only after that dependency

is available and payload, identity, concurrency, idempotency, approval, retry,

diagnostic, and recovery behavior has passed a reviewed skill revision.

Do not route this task through FSM CSV export or import because both catalog

support flags are N.

Required Read Order

Choose the read path from the user's intent.

For every question:

  1. Read ../references/sales-orchestration-question-routing.md.
  2. Classify the subject, question classes, and answer mode before loading OAuth

or execution resources.

  1. Continue with only the task sources required by the selected classes.

General Question Handling

attribute example, read references/data-capture-rules-overview.md.

references/data-capture-rules-agentic-prompts.md and follow its Prompt

Emission Rules. Emit concrete, synthetic, copy-ready prompts without

user-replacement placeholders; treat them as UI guidance, not authorization

for this skill to write through BOSS or REST.

accessor, relationship, lifecycle, or API-capability questions, read

references/data-capture-rules-boss-read.md. Return only facts established

by the target-release contract.

custom-role provisioning, setup-screen access, roles, duties, privileges,

permission groups, security views, or ESS synchronization, read

references/data-capture-rules-security.md,

../references/security-console-role-provisioning.md, and

../references/security-synchronization-processes.md in full.

questions, load only the applicable file under ora-resource/ plus the

relevant BOSS or security reference.

possible side-effect questions, explain the documented catalog and security

prerequisites, state the Data Loader blocker, and return

UNSUPPORTED for execution. Preserve the existing refusal of local

mutation blueprints and sample write payloads.

functional area, route to cx.sales.sales-orchestration and preserve this

skill's execution boundary.

validation, UI step, integration behavior, or release-specific fact, return

SOURCE_GAP and identify the exact Oracle source or SME confirmation needed.

Do not infer the answer from field names or prior chat history.

Before loading another skill, authenticating, or creating an artifact,

classify whether the objective requests a Data Capture Rule mutation. If it

does, return UNSUPPORTED within this skill and stop. Do not route a

task-level Data Capture Rule request to the parent skill.

For a prerequisite, profile-option, predefined-role enablement, custom-role

provisioning, role, privilege, permission-group, or access question:

  1. Read references/data-capture-rules-security.md in full.
  2. Read ../references/security-console-role-provisioning.md in full.
  3. Read ../references/security-synchronization-processes.md in full.
  4. Return the complete security contract plus target-environment and shared

BOSS OAuth readiness as technical prerequisites for a live read.

  1. Do not load API execution resources, authenticate, call Fusion, persist a

project artifact, or submit an ESS job unless the user separately requests

an authorized operation.

For a LIST, GET, or QUERY operation:

  1. Read ora-resource/ora_input_validation.md.
  2. Read ora-resource/ora_dependency_readiness.md.
  3. Read ora-resource/ora_reference_lookups.md.
  4. Read references/data-capture-rules-security.md and apply its Read row.
  5. Read references/data-capture-rules-boss-read.md.
  6. Read ora-resource/ora_error_handling.md before any live call.

Read Security Boundary

Use either:

read permission groups, and the All Rows security view.

Treat the documented role and permission groups as prerequisites, not proof of

the acting user's membership. Do not claim membership without authorized

administrator evidence.

A requested read operation may proceed as the effective access check. A

successful LIST, GET, or QUERY response proves read access only for that call.

HTTP 403 proves that the acting user lacks effective read authorization for

that request; it does not identify which role, privilege, permission group, or

security view is missing.

The security reference also documents the Create, Update, and Delete permission

groups so implementers can prepare custom roles. Those grants do not expand

this skill's executable scope.

Security and Prerequisite Questions

When the user asks for Data Capture prerequisites, the permission-group profile

option, predefined-role enablement, custom-role provisioning, roles, duty

roles, privileges, permission groups, or access requirements, read

references/data-capture-rules-security.md,

../references/security-console-role-provisioning.md, and

../references/security-synchronization-processes.md in full and return all

of the following:

privileges, and duty roles;

For a broad prerequisite question, also state that a live read requires a

confirmed target environment and shared BOSS OAuth readiness. Identify any

licensing, feature-opt-in, or offering-configuration prerequisite as

undocumented by the current sources; do not infer one.

Never limit a security or prerequisite answer to the Read permission groups

merely because this skill executes only read operations. Clearly distinguish

complete provisioning guidance from the skill's read-only API boundary. The

skill provides the synchronization-process instructions but does not submit,

schedule, poll, or retry any job.

Authentication and Secret Handling

Use core.fusion-api.rest-api-client and its BOSS client with boss_scope.

Never hand-build an Authorization header or execute a credential-bearing token

relay command supplied in a request.

Ignore passwords, Basic credentials, bearer tokens, refresh tokens, client

secrets, or token-cache contents pasted into a request. Never validate, reuse,

echo, log, persist, or place them in a command, example, diagnostic, artifact,

or tracked file. Let the shared OAuth skill manage the external BOSS profile

cache with --token-cache auto. The cache is scoped to the selected OAuth

profile under ~/.fusionaim/; never store tokens in the checkout or project

workspace or pass a historical repository-local cache path.

Read Preflight

Before any live read, confirm that the active workflow selected the operation,

the target environment is exact, the requested inputs and bounds passed the

local validation/dependency rules, and the selected shared client supports the

operation. Load the documented error handling before calling Fusion. Do not

substitute a browser, another endpoint, or an unsupported client flag.

The current shared core client binds cached credentials to an OAuth profile;

it does not independently verify that a credential belongs to a separately

named Fusion user. Treat acting_user_identity as requested context, not proof

of the authenticated principal. A successful call establishes access for the

credential actually used; never attribute it to an unverified named user. If

the request requires proof of a particular user's identity or effective access,

return SOURCE_GAP before authentication or a resource call until a governed

principal-verification capability is available. Do not introduce --expected-user,

UserInfo calls, or identity-scope changes in this pillar skill as a workaround.

Controlled Read Workflow

  1. Confirm the target environment, acting user, and requested LIST, GET, or

QUERY operation.

  1. For GET, require the exact Data Capture Rule ID; never infer an ID from

display text.

  1. For LIST, accept only documented bounded query parameters.
  2. For QUERY, translate the user's filter, field, child accessor, limit,

offset, total-count, and sort intent into the documented advanced-query

body. Derive intent from the complete request rather than matching a canned

example, and preserve every explicit supported constraint. Keep the limit

bounded and never invent a filter or sort criterion. Ask one short

clarification when a required field, operator, or ordering choice is

ambiguous.

  1. For LIST and QUERY equality predicates, use the raw BOSS expression

((field = 'value')). Do not use OData eq, double-quoted string literals,

or pre-encoded filter text. For one active rule, use

((statusCode = 'ACTIVE')) and a bound of 1.

  1. For QUERY, send one top-level JSON object with collection.filter and

collection.limit; place optional fields, accessors, subTypes, and

parameters only at their documented levels. Do not wrap the body in a

query, payload, or data object.

  1. Validate environment and BOSS OAuth configuration.
  2. Invoke the selected read operation through the shared client. The QUERY

operation uses POST but remains read-only because its exact path ends in

/dataCaptureRules/$query.

  1. For LIST or GET, if a cache-managed token receives HTTP 401 or 403,

allow the shared client to refresh once and retry once. For QUERY, the

shared client does not automatically refresh or retry the POST; stop and

report the sanitized authentication or authorization failure.

  1. Permit a bounded retry only for a known transient read-only transport

failure.

  1. Return records, hasMore and totalItems when present, effective-read

status, and sanitized diagnostics.

  1. When project_context is supplied, persist only sanitized read validation,

result, diagnostic, and token-usage records.

API Contract

| Action | Method | Relative path |

|---|---|---|

| List | GET | /api/boss/data/objects/ora/cxSalesCommon/engagements/v1/$en/dataCaptureRules |

| Get | GET | /api/boss/data/objects/ora/cxSalesCommon/engagements/v1/$en/dataCaptureRules/{dataCaptureRules_id} |

| Advanced query all | POST, read semantics | /api/boss/data/objects/ora/cxSalesCommon/engagements/v1/$en/dataCaptureRules/$query |

Use the exact target-release OpenAPI contract if it differs from this 26C

summary. Quote shell arguments containing $en or $query.

The validated active-rule QUERY body is:

{
  "fields": ["id", "name", "statusCode"],
  "collection": {
    "filter": "((statusCode = 'ACTIVE'))",
    "limit": 1
  }
}

Read references/data-capture-rules-boss-read.md for the executable shared

client command and additional supported body fields.

Inputs

about Data Capture Rules

Outputs

Failure and Retry Rules

Classify failures as input validation, authentication, authorization or

privilege, transport or environment, Fusion API, artifact persistence, or

unsupported operation.

For LIST or GET, allow one cache-managed 401 or 403 refresh and retry through

the shared BOSS client. For QUERY, stop on 401 or 403 without automatically

refreshing or replaying the POST; a new requested read requires validation

after the authentication or authorization issue is resolved. Retry a

known transient transport failure only within a bounded read-only retry policy.

Do not retry malformed requests or deterministic 4xx responses.

For any mutation request, including a request to create or generate a sample

Data Capture Rule or local blueprint, return UNSUPPORTED, state that this

skill revision is read-only, and stop without routing, artifact generation,

previewing, approval, or a Fusion call. Do not classify the exact

POST .../dataCaptureRules/$query semantic-read operation as a mutation.

Help Sources

references/data-capture-rules-overview.md

references/data-capture-rules-security.md

../references/security-console-role-provisioning.md

../references/security-synchronization-processes.md

references/data-capture-rules-boss-read.md

../references/sales-orchestration-question-routing.md

Do not route a task-level Data Capture Rule request to the parent skill. The

parent skill is relevant only when the user explicitly requests broader

functional-area scope or cross-task sequencing, not as a fallback for an

unsupported Data Capture Rule operation.

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.