Cube Refresh Prerequisite
An AI assistant connected through the FCCS connector can run a database refresh for you with the run_cube_refresh tool — the step that makes an outline change usable for data entry, calculation and consolidation.
The tool is on the user / data connector instance only; the admin / metadata instance does not carry it (see Admin and user instances). The refresh runs under the identity that instance calls Oracle with (the end user’s own under federated SSO, or the delegated credential), and Oracle accepts a refresh only from an identity that holds an administrator role in the application.
On Oracle Financial Consolidation and Close, that tool submits a job by name. Oracle requires the name, so the connector sends Refresh Database — Oracle’s own default name for the job — whenever the assistant does not supply one. If no job definition by that name exists in your application, every refresh the assistant attempts fails with “Unable to find a job with the specified name.”
This page is the one-time check that prevents that. It takes about a minute, and it is the only setup run_cube_refresh needs — there is nothing to configure on the connector, no environment variable, and no restart.
1. Check whether the job already exists
Section titled “1. Check whether the job already exists”In EPM, open Navigator → Application → Jobs, then switch to the Job Definitions list.
Look for a definition whose Job Type is Cube Refresh and whose name is exactly Refresh Database.
- It is there. Skip to Verify, which is the real confirmation.
- It is not there. Create it in step 2. This list does not reliably show every user-created definition, so if you are unsure, creating it again is harmless and the Verify step settles it.
2. Create the job definition
Section titled “2. Create the job definition”Oracle creates the definition for you as a side effect of saving the refresh dialog. You are not running a refresh here, only saving its settings under a name.
- Go to Application → Overview → Actions → Refresh Database.
- Leave every setting exactly as Oracle presents it. Change nothing. See the settings warning below.
- Choose Save as Job.
- Name it
Refresh Databaseand save.
The definition now exists and the assistant’s refreshes will dispatch against it.
The one setting never to change
Section titled “The one setting never to change”The refresh dialog includes options that control who may use the application after the refresh finishes. One of them locks users out persistently.
Leave the post-refresh access option at Oracle’s default — the one that keeps the application open to all users. If you save the definition with the restrictive option instead, every refresh the assistant runs will lock your users out of the application, the lockout outlives the job, and nothing lifts it automatically. An administrator has to restore access by hand.
This warning is the only protection there is. The settings you save on the definition govern every refresh completely: the connector sends the job type and the name and nothing else, so it cannot detect a disruptive setting, cannot override one, and cannot tell you afterward that a lockout came from a refresh the assistant ran. That is deliberate — a deliberate administrator choice should not be silently overridden by a connector — but it means the defaults are worth getting right once.
The same reasoning applies to the other options in that dialog (terminating active requests, logging users off). Leave them alone. None of them is exposed to the assistant as a parameter, so the only way one takes effect is if it is saved on the definition.
If your refresh job has a different name
Section titled “If your refresh job has a different name”Many applications already have a refresh job under a name of their own, saved with settings chosen for that application. You do not have to rename it or create a duplicate.
Tell the assistant the name. job_name is a parameter on run_cube_refresh, so an instruction like “refresh the database using the job named Nightly Refresh” dispatches against your existing definition and its saved settings. This is the only way the assistant can reach a differently-named job — it cannot discover the name on its own, for the reason in the caution above.
If several people use the assistant against this application, make sure they all know the name. An assistant given the wrong name gets a clear error naming the job that was not found, so a wrong name fails visibly rather than refreshing with something unintended.
Verify
Section titled “Verify”Ask the assistant to refresh the database. A healthy round trip looks like this:
- The assistant reports the refresh submitted, with a job id.
- It polls that job id and reports completion — typically within about 20 seconds on a modest application.
Three outcomes worth recognising:
- “Unable to find a job with the specified name.” The definition does not exist under the name that was sent. Re-check step 1, or supply your own job’s name.
- “Cannot complete your request because the database is being refreshed.” A refresh is already running. This is normal and needs no action — wait for the running one to finish and try again. Oracle accepts the second request before rejecting it, so the assistant may report it as submitted and then report this failure a moment later.
- The refresh “was not accepted” (Oracle reports insufficient privileges). The identity the assistant runs as does not hold an administrator role in the application, so Oracle refused the submission and no job started. Have an administrator run the refresh, or grant that identity the role.
If the assistant reports the refresh as submitted but says it cannot observe the job, the refresh is running — Oracle just did not return a job id to follow it with. Wait for it to finish rather than asking for another refresh; a second request would start a second refresh.
Related
Section titled “Related”- Adding Connectors & Data Sources — the registration and pairing this page assumes is already done.
- Admin and user instances — which connector instance carries the refresh tool.
- Troubleshooting — general connector diagnostics.