Welcome to this overview of Jobs-as-Code in the Stonebranch Universal Automation Center. In the next few minutes, we will look at how UAC keeps your automation definitions and your Git repository permanently in sync in both directories. Changes made by operations teams in UAC flow into Git, and changes made by developers in Git flow back into UAC. The main idea of Jobs-as-Code is simple. UAC supports two different kinds of people and lets each of them work in the tool they prefer. On the left, there are the operations teams. They manage automation day to day directly in the Universal Automation Center web UI, creating tasks, adjusting workflows, removing schedules. With Jobs-as-Code, every change they made in UAC is automatically pushed to a Git repository. That is direction a. On the right, there are the developers. They treat task definition as code and work in Git, with branches, pull requests, code reviews. Every change a developer makes in Git is automatically applied to UAC. That is direction b. The Jobs-as-Code tasks sit in the middle and keeps UAC and Git in sync in both directions. So there's one source of truth no matter who made the change. Why do we need this? Without Jobs-as-Code, three problems appear. First, GUI changes are not captured. When an operator changes a task in the web UI, nothing writes a change to Git. The repository is out of sync immediately. Second, git and UAC drift apart. Over time, nobody can say whether what's in Git matches what actually runs in UAC. There's no single source of truth. And third, the histories are disconnected. UAC keeps its own changelog, Git keeps its own commit history, and the two never line up, which makes audit and incident analysis unreliable. Jobs-as-Code closes this gap automatically, event driven, and in both directions. Let's start with direction a. An operator changes something in UAC. Step one, the operator creates, updates, or deletes a task in the Universal Controller web UI. That is all they have to do. Step two, UAC fires a universal event, calls UAC record changed. There's one event for every affected record. Step three, a universal monitor is listening for this event. As soon as it arrives, the monitor launches a Jobs-as-Code task. Step four, the Jobs-as-Code task retrieves the current task definition from UAC as JSON. Step five, the Jobs-as-Code task pushes the definition to Git repository, either directly to the remote repository or first to a local branch. We will look at both options on the next slide. One detail worth knowing, cascading events: Renaming a task, for example, also updates every workflow that references it. Each of those records files its own event, so every affected record ends up in Git individually. The Jobs-as-Code task gives two ways to deliver changes to Git. Mode one is a direct push. Every change is committed and pushed to the remote repository immediately. Git mirrors UAC in near real time. Idle if you want a continuous version history and audit trail. This works with the default settings. No environment variables are needed. Mode two uses a local branch. Each change is committed to a local git branch only. The remote push is suppressed by setting the environment variable UE Jobs-as-Code Git push ref spec to the value empty. The commit accumulate, and a separate schedule Jobs-as-Code push task sends all of them to the remote repository in one batch. That way, you release to get your own change management schedule. Every UAC record change event carries these attributes, so the Universal Monitor and the Jobs-as-Code tasks know exactly what changed. The most important ones, record type and record subtypes, tell you what kind of record it is. Operations tells you whether it was a create, update, or delete. Changed by is a operator who made the change, and source tells you whether it came from the UI, a web service, or the command line. Audit record ID links to the full before and after difference in the UAC audit log. You can also filter events by business service using the event business service criteria. Which record types are covered? Record types have to opt in to fire the UAC record change event, which gives you full control over what ends up in Git. The coverage is broad, all task types, triggers and calendars, scripts, templates and connections, agents, credentials, variables and virtual resources, and infrastructure, such as applications, cluster nodes, and OMS servers. For cluster nodes and OMS servers, only user changes are captured, not heartbeats. If you want to leave certain types out, you can exclude them at runtime with the system property, uc record changed event type dot exclude types. Now direction b, a developer changes a task in Git. Step one, the developer edits a task definition in the Git repository using the usual workflow, a branch, a pull request, a review, and a merge. Step two, the Git repository is configured with a webhook. On every push or merge, it sends a webhook event to UAC in real time. No polling. Step three, the UAC webhook monitor received the webhook event from git and calls the Jobs-as-Code task. Step four, the Jobs-as-Code task applies the change in UAC. It loads the updated task definition directly into the controller. No manual import, no deployment script. Developers keep their familiar Git workflow. Every change in UAC can be traced back to a reviewed commit, and the change is live within seconds. Here is a complete picture with both directions together. The top line is direction a. A changes in UAC fires an event. The Universal Monitor picks it up and starts the Jobs-as-Code task. The Jobs-as-Code task retrieves the definition and passes a JSON to Git, either directly or optionally via a local branch with a scheduled push. The bottom lane is direction b. A change in it triggers a webhook. The UAC webhook monitor receives it and calls the Jobs-as-Code task. The Jobs-as-Code task update the task definition in UAC. Both directions use the same building blocks, events, monitors, and the Jobs-as-Code task. So UAC and Git always stay in sync. To summarize, direction a, every change made in UAC is captured automatically through the universal event, the universal monitor, and the Jobs-as-Code tasks and push to Git either immediately or batched on a local branch and released on a schedule. Direction b, every change a developer makes in Git triggers a webhook. The UAC webhook monitor calls a Jobs-as-Code task, which applies the changes in UAC in real time. The result, one source of truth for operators and developers, full traceability of every change in Git, and release on your own terms. Now let's see Jobs-as-Code live. Five short use cases. Demo one, I create a task in UAC. The universal event fires and the task appears in Git. Demo two, I fix the wrong task definition and name in Git. The webhook updates the task and the corresponding workflow, and the workflow update is synced back to Git. Demo three, I rename a task that is part of a workflow. Two events fire, and both changes land in Git. Demo four, with Claude and the UAC MCP workflow builder, I create a task and a workflow. Both are synced to Git. Demo five, I create a task that lands on the local branch first, and the push task sends it to the remote repository. Let me now switch to the live demo. Demo one, direction a from UAC to Git. This is the UAC dashboard. I open the Linux tasks and create a new task. The task name is task a. It runs on the agent Linux userverse. The command is very simple. It says, "Hello Stonebranch". I save the task. That is all the operator does. Now look at the activity monitor. The Jobs-as-Code synced task has already run. A UAC webhook started it. Let's open the webhook. The webhook waits for the event record changed, then it starts the Jobs-as-Code task. This is a Jobs-as-Code task. Its action is export to Git. Here are the Git settings. We use GitHub, GitLab, Bitbucket, and Azure DevOps also works. This is the repository. The files are saved as YAML. We use branch development. Only the changed record goes to Git. Let's look at the last run. The output shows the export to GitHub. Here you see the event data. The operation is create the record, is task a. It's Linux task. It was changed in the user interface. Now we go to GitHub, to the Unix folder. Here is task a. It's already in Git, fully automatic. Demo two, direction b from Git to UAC and back to Git. One task has failed, SAP_START_DEV. The output shows a problem. The SAP variant is wrong. A developer fixes this in Git. Here is the SAP folder. I open the task file and edit it. First, I change the SAP variant to LIST_P. Then I change the task name to SAP_START. Now I commit the change. Back in UAC, I refresh the list of SAP tasks. The task now had the new name SAP_START_PRD, and it uses a variant list p. The change from Git is already in UAC. The workflow is also updated. It now uses SAP_START_PRD. How does this work? This trigger starts the SAP Jobs-as-Code task import from GitHub. The trigger uses a Universal Monitor. It listens to GitHub. It only reacts to changes in our repository and in the branch development. Here you see both runs. Demo three direction a. Here is the workflow. I open the task START_PRD. I change the name to SAP_START and save it. The task is part of a workflow, so two things change. That's why the Jobs-as-Code task synced task runs two times. Let's look at the output. The new file is edited. The old file is removed. The second output shows the workflow. It was also changed in Git. Nobody did this by hand. In GitHub, we see the new file SAP_START. The the work file was also updated. Inside the file, the workflow now uses SAP_START. This happened automatically. In UAC, the workflow also shows the new name. Both sides are the same. Demo four. Now we use AI. This is Claude. It's connected to UAC. I write what I need in normal language. I want a Linux task with the name copylog. It copies the agent log file to the folder/temp. It uses the business service MFT TEAM and the agent Linux userverse. Claude loads the UAC tools and checks the agent. Before Claude changes something in UAC, it asks me. I say yes. Then Claude creates the task. The task copylog is ready. I ask Claude to start the task. It runs without errors. Let's check UAC. Here is a task copylog. You can see the description and the business service. And in GitHub, the task is already there. Claude created it. Git saved it automatically. Now I ask Claude for a workflow. The name is workflow copylog. It has three tasks. First, copylog, then s3upload, then s3list. Claude checks that all task lists exist, then it creates a workflow and connects the task. I ask Claude to start the workflow. In the activity monitor, the workflow is running. All three tasks are successful. In GitHub, we find the new workflow. All three tasks are in the file built by AI, running in UAC, saved in Git. Demo five direction a, but with a local branch. I create a new Linux task. The name is task b. It runs on the same agent. It also says "hello". I save it. This time, a different Jobs-as-Code task runs. The webhook for the remote repository is now off. The webhook for the local repository is on. It starts the Jobs-as-Code task with the same git settings. But this setting is different. It stops the push, so the change stays local. Here are the last runs. On the server, task B is in the local repository. Git says one commit is not pushed yet. A time trigger does a push. Normally, it runs at fixed time, for example, in the evening. Here, I started it by hand. The push works. Now task B is in the remote GitHub repository - collect changes first, push them later. That is Jobs-as-Code. Every change in UAC goes to Git. Every change in Git goes to UAC.