> For the complete documentation index, see [llms.txt](https://docs.uptiq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uptiq.ai/academy/tier-2-core-skills/m06-app-builder-design-system-builder/lab-7-schedule-a-background-task-with-console.md). Agents can also search and read this documentation through its [MCP server](https://docs.uptiq.ai/~gitbook/mcp).

# Lab 7: Schedule a background task with Console assistant

Hands-on lab for lesson 7 of module M06, schedule a background task with console operator.

{% @uptiq-training/training-labels content="Module 6 | brand
Lesson 7 of 8 | brand
Lab 7 | success
7 minutes | neutral
Bloom level Apply | neutral" %}

{% @uptiq-training/training-navigator title="M06 App Builder & Design System Builder" content="Lesson 1: Orient to App Builder | soon
Lesson 2: Plan a borrower status check app in Plan mode | soon
Lab 2: Plan a borrower status check app in Plan mode
Lesson 3: Generate and inspect the app in Build mode | soon
Lab 3: Generate and inspect the app in Build mode
Lesson 4: Knowledge check 1 | soon
Lesson 5: Create and apply a design system | soon
Lab 5: Create and apply a design system
Lesson 6: Configure, scan and publish the app | soon
Lab 6: Configure, scan and publish the app
Lesson 7: Schedule a background task with Console Operator | soon
Lab 7: Schedule a background task with Console Operator | current
Lesson 8: Module assessment | soon" %}

## Lab overview

**Exercise title:** Schedule a Background Task with Console Operator

**Difficulty level:** Apply (Bloom Level 3 — you will perform a real procedure in the platform, not just recognize or recall concepts)

**Estimated hands-on time:** 7 minutes

**What you will build:** A scheduled Console Operator task that runs daily and checks the borrower status check app's data sync. You will then navigate to Conversation History to interpret the execution results — reading the transcript, identifying the steps the Operator took, and reviewing the side panel's Agents, Connections, Outputs, and Artifacts. You will also open the app's Data Flow view and observe how the diagram reflects the app's current architecture.

### Prerequisites

* Lessons 1–6 of this module must be complete. Specifically:
  * The borrower status check app must exist in App Builder (created in Lesson 2).
  * The app must have been built in Build Mode and have at least one completed build conversation in Conversation History.
  * You must be logged in with a role that allows creating and managing schedules (Developer, Account Admin, or Organisation Admin).
  * Your sandbox environment must be active and Console Operator must be accessible from the Console top bar.

## Your sandbox environment

**Environment access URL:** `<provided by your instructor>`

### Connection details

| Field                      | Where to find it                                                                                                      |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| **Console URL**            | Provided by your instructor — this is the base URL for your sandbox                                                   |
| **Your login credentials** | Provided by your instructor                                                                                           |
| **Project name**           | The project containing your borrower status check app — visible in the account/project switcher at the top of Console |

### Pre-provisioned resources

You do not need to set these up:

* Your user account and role are already configured with schedule-creation permissions.
* The borrower status check app from Lesson 2 is already present in your project.
* Console Operator is already enabled in your sandbox environment.
* The Schedules page is accessible from the Console top bar — no additional setup required.
* At least one prior Operator conversation exists in Conversation History (from earlier lessons), which you will use in Procedure 2 to practice reading a transcript.

## Configuration template

Use the following values when completing the Add Schedule dialog in Procedure 1.

| Field                       | Value                                                                     | Notes                                                                                                                                                       |
| --------------------------- | ------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Name**                    | `Daily Borrower Status Sync Check`                                        | Required. You may use a different name, but this name is used in the Solution Reference. A name of only spaces is not accepted.                             |
| **Schedule type**           | Preset                                                                    | Select Preset (not Custom cron).                                                                                                                            |
| **Frequency**               | Daily                                                                     | Select from the Frequency dropdown.                                                                                                                         |
| **Time**                    | `09:00 UTC`                                                               | Set hours to 09, minutes to 00, AM/PM to AM. **Times are entered in UTC.** The schedules list will show the next run in your local time — this is expected. |
| **Instructions**            | `Check the borrower status check app's data sync and report any failures` | Required. Enter as Plain Text (the default). Write instructions that need no answers — nobody is present during a scheduled run.                            |
| **Agents this run may use** | `App Builder Agent`                                                       | Optional. Select from the searchable list. You may leave this empty to allow the run to reach every agent in the pool.                                      |

{% hint style="warning" %}
The footer of the Add Schedule dialog confirms your schedule in plain language before you save — for example, “Runs every day at 09:00 UTC.” Read this line before selecting Add Schedule to confirm the timing is what you intended.
{% endhint %}

## Step-by-step instructions

### Procedure 1 — Create a Daily Schedule

{% stepper %}
{% step %}
**Open the Schedules page**

In the Console top bar, select Schedules.

The Schedules page opens. If you have not created any schedules yet, the page is empty.

{% hint style="info" %}
**Checkpoint:** Confirm you can see the + Add Schedule button. If the Schedules option does not appear in the top bar, your role may not include schedule access — contact your instructor.
{% endhint %}
{% endstep %}

{% step %}
**Open the Add Schedule dialog**

Select + Add Schedule.

The Add Schedule dialog opens. You will see fields for Name, Schedule, Instructions, and Agents this run may use.
{% endstep %}

{% step %}
**Enter the schedule name**

In the Name field, type:

`Daily Borrower Status Sync Check`

{% hint style="info" %}
**Tip:** The name appears in the schedules list and in Conversation History after each run. Use a name that makes the schedule's purpose clear at a glance.
{% endhint %}
{% endstep %}

{% step %}
**Set the schedule using a Preset**

Under Schedule, confirm Preset is selected, not Custom cron.

Open the Frequency dropdown and select Daily.

Set the time fields to 09, 00, AM, representing 09:00 AM UTC.

Read the footer confirmation line. It should read:

`Runs every day at 09:00 UTC`

{% hint style="warning" %}
All times are set in UTC. The schedules list will display the next run in your local time — for example, a 09:00 UTC schedule may show “Next run … 2:30 PM” if you are in India. This is correct behavior, not an error.
{% endhint %}
{% endstep %}

{% step %}
**Enter the instructions**

In the Instructions field, confirm Plain Text is selected, then type:

`Check the borrower status check app's data sync and report any failures`

{% hint style="info" %}
**Concept:** A scheduled run acts with no one watching. The Console Operator dispatches at the set time without an approval step and without anyone present to answer questions. Write instructions that are self-contained and need no follow-up — if the Operator needs to ask a clarifying question during a scheduled run, no one is there to answer it.
{% endhint %}
{% endstep %}

{% step %}
**Optionally select an agent**

In the Agents this run may use field, select App Builder Agent from the searchable list.

{% hint style="info" %}
**Tip:** Leaving this field empty allows the scheduled run to reach every agent in the pool. Specifying an agent limits the run to that agent only. For this exercise, selecting App Builder Agent is sufficient.
{% endhint %}

{% hint style="info" %}
**Concept:** A scheduled run skips an agent that is not available at run time rather than failing. Your role also determines what the run can do — the schedule inherits the permissions of the user who created it.
{% endhint %}
{% endstep %}

{% step %}
**Save the schedule and confirm it is active**

Select Add Schedule.

The dialog closes. Your new schedule appears in the schedules list.

Confirm the following in the list row:

* **Name:** Daily Borrower Status Sync Check
* **Status:** Active
* **Next run:** A date and time is shown, in your local time.

{% hint style="info" %}
**Checkpoint:** If the schedule shows Paused instead of Active, select the ⋯ menu on the schedule row and choose Resume. If no Next run time appears, the schedule may not have saved correctly — select ⋯ and choose Edit to review the fields.
{% endhint %}

{% hint style="info" %}
**Tip:** There is no Run now button. If you want to run the same instructions immediately without waiting for the scheduled time, open a new Operator conversation and type the instructions directly.
{% endhint %}
{% endstep %}
{% endstepper %}

### Procedure 2 — Interpret Task Execution Results in Conversation History

{% stepper %}
{% step %}
**Navigate to Conversation History**

Locate the most recent Operator conversation.

This may be a conversation from an earlier lesson — for this exercise, you are practicing how to read any Operator transcript, not necessarily one produced by your new schedule, which has not run yet.
{% endstep %}

{% step %}
**Read the transcript**

Open the most recent conversation. Review the transcript and identify:

* **How long the Operator thought** — shown at the top of the conversation.
* **Each step the Operator took** — listed in sequence, for example, Update Plan Steps or List Database Providers.
* **Any questions the Operator asked** — shown with the answer beneath each question.
* **Agent cards** — when the Operator handed work to an agent, the agent appears as a card showing its name, step count, for example, App Builder Agent · 49 steps, and a Working status while it ran.

If an agent card is present, select Open full run on the card to see every step the agent took.

{% hint style="info" %}
**Checkpoint:** Confirm you can identify at least one step the Operator took and, if an agent card is present, that you can open the full run. If the conversation shows no steps, select a different conversation from the history list — some short conversations may not have expanded step detail.
{% endhint %}
{% endstep %}

{% step %}
**Review the side panel**

With the conversation open, look at the side panel on the right.

| Section         | What it shows                                                                  |
| --------------- | ------------------------------------------------------------------------------ |
| **Agents**      | Which agents the Operator handed work to, with a count of how many are working |
| **Connections** | Integration Hub connections used during this conversation                      |
| **Outputs**     | What the conversation built or produced, with a link to open it                |
| **Artifacts**   | Files and documents created during the task                                    |

{% hint style="info" %}
**Tip:** The Outputs section is where you find links to apps or documents the Operator built. If the conversation produced an app, the link in Outputs opens it directly in App Builder.
{% endhint %}
{% endstep %}
{% endstepper %}

### Procedure 3 — Observe the Data Flow View

{% stepper %}
{% step %}
**Open the borrower status check app in App Builder**

Navigate to App Builder and open the borrower status check app you built in Lesson 2.
{% endstep %}

{% step %}
**Open the Data Flow view**

In the app workspace, select More in the action bar, then select Data Flow.

The Data Flow diagram opens. It shows the app's current architecture: its pages, services, integrations, external systems, data stores, and the labeled connections between them. The Uptiq Platform generates this diagram from the app as it is built.

{% hint style="info" %}
**Checkpoint:** Confirm the diagram is visible and shows at least one page and one data store. If the diagram is blank, the app may not have completed its build — return to the build conversation and confirm the build finished successfully.
{% endhint %}

{% hint style="info" %}
**Concept:** The Data Flow diagram reflects the app's architecture as it currently exists. If the Console Operator were to build or modify this app through a scheduled run — for example, adding a new page or connecting a new data source — the Data Flow diagram would update to reflect those changes the next time you open it. The connection between Operator output and Data Flow is architectural: Operator-driven app changes appear in Data Flow because Data Flow is generated from the app itself, not from a separate log. There is no separate UI action you take to “connect” them — the diagram updates automatically when the app changes.
{% endhint %}

{% hint style="warning" %}
The exact mechanism by which a scheduled Operator run's output is reflected in Data Flow is pending SME confirmation (see Content Gap G2 in the lesson outline). The explanation above represents the current best understanding based on available documentation. If your instructor has updated guidance, follow that instead.
{% endhint %}
{% endstep %}
{% endstepper %}

## Troubleshooting

<details>

<summary>Fixes for common problems in this lab</summary>

| Symptom                                                                    | Cause                                                                                 | Fix                                                                                                                                |
| -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| **Schedules does not appear in the Console top bar**                       | Your role does not include schedule access                                            | Contact your instructor to confirm your role is Developer, Account Admin, or Organisation Admin.                                   |
| **Schedule saves but shows Paused instead of Active**                      | The schedule was created in a paused state, or a save error occurred                  | Select ⋯ on the schedule row and choose **Resume**.                                                                                |
| **No Next run time shown on an Active schedule**                           | The schedule may not have saved the timing correctly                                  | Select ⋯ and choose **Edit** — review the Frequency and Time fields, confirm the footer reads the expected timing, and save again. |
| **Footer in Add Schedule dialog does not update when you change the time** | The time fields may not have registered your input                                    | Click away from the time field and back — the footer should refresh. If it still does not update, try tabbing between fields.      |
| **Name field rejects your input**                                          | A name of only spaces is not accepted                                                 | Enter at least one non-space character.                                                                                            |
| **Conversation History shows no conversations**                            | No Operator conversations have been run in this project yet                           | Complete an Operator conversation first (ask the Operator anything in a new conversation), then return to Conversation History.    |
| **Agent card shows no Open full run link**                                 | The agent run may have been very short or the card may still be loading               | Wait a moment and refresh the conversation. If the run was extremely brief, there may be no expanded step detail available.        |
| **Data Flow diagram is blank**                                             | The app build did not complete successfully                                           | Return to the app's build conversation and confirm the build finished. If it did not, send a follow-up prompt to resume the build. |
| **Data Flow diagram does not show the agent connection**                   | The app may not have been built with an agent connection in the original prompt       | In the build conversation, send a prompt to attach an agent to the app, then reopen Data Flow.                                     |
| **Add Schedule button is missing from the Schedules page**                 | You may be viewing a read-only project or your role does not allow creating schedules | Confirm your role with your instructor.                                                                                            |

</details>

## Checkpoints and validation

### Embedded Checkpoints (Formative)

#### Checkpoint A — Schedule created and active

* The schedule name reads **Daily Borrower Status Sync Check**, or your chosen name.
* Status shows **Active**.
* A **Next run** date and time is displayed.

If any of these are missing, see the Troubleshooting Quick Reference above.

#### Checkpoint B — Transcript readable

* At least one step the Operator took is listed in the transcript.
* Whether any agent cards are present, and if so, that **Open full run** is selectable.

If the conversation shows no steps, select a different conversation from the history list.

#### Checkpoint C — Side panel sections visible

#### Checkpoint D — Data Flow diagram visible

This lesson has no summative assessment. EO-5 is assessed in the Module Assessment (Lesson 8).

## Solution reference

<details>

<summary>The completed state of your work</summary>

The following describes the completed state of your sandbox environment after all procedures in this lesson are successfully executed.

### Completed Schedule

Your Schedules page shows one schedule with the following values:

| Field                       | Completed value                                                         |
| --------------------------- | ----------------------------------------------------------------------- |
| **Name**                    | Daily Borrower Status Sync Check                                        |
| **Schedule**                | Preset — Daily at 09:00 UTC                                             |
| **Instructions**            | Check the borrower status check app's data sync and report any failures |
| **Agents this run may use** | App Builder Agent                                                       |
| **Status**                  | Active                                                                  |
| **Next run**                | The next occurrence of 09:00 UTC, displayed in your local time          |

The footer confirmed Runs every day at 09:00 UTC before you saved.

### Conversation History — What a Completed Run Looks Like

When your schedule runs for the first time, at 09:00 UTC on the next calendar day, a new entry appears in Conversation History. A successfully interpreted transcript shows:

* A thinking duration at the top of the conversation.
* A sequential list of steps the Operator took, for example, checking data sync status, querying the app's database connections, and generating a report.
* If the App Builder Agent was invoked: an agent card showing **App Builder Agent · \[N] steps** with an **Open full run** link.
* Side panel populated with:
  * **Agents:** App Builder Agent, if invoked.
  * **Connections:** Any Integration Hub connections used.
  * **Outputs:** A link to any app or document produced.
  * **Artifacts:** Any files created.

For this exercise, you practiced reading an existing conversation from an earlier lesson. The structure is identical for a scheduled run.

### Data Flow View — Expected State

The Data Flow diagram for the borrower status check app shows:

* At least one **page** node, the app's front-end interface.
* At least one **data store** node, the app's Managed DB.
* Labeled connections between pages, services, and data stores reflecting the app's architecture as built in Lesson 2.

The diagram is generated automatically from the app. No manual action is required to update it — if the Operator modifies the app through a future scheduled run, the diagram will reflect the updated architecture the next time you open Data Flow.

{% hint style="info" %}
**Concept:** The Data Flow view is a read-only architecture diagram. It is not a configuration surface. You observe it to validate that the app's components are connected as intended — you do not edit connections here.
{% endhint %}

</details>

{% hint style="success" %}
**Lab complete.** Confirm every checkpoint above before you move on.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.uptiq.ai/academy/tier-2-core-skills/m06-app-builder-design-system-builder/lab-7-schedule-a-background-task-with-console.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
