Adding logic and automation

concept brazil Updated Sep 10, 2026 2 min read app-tutorial-logic-automation-layer.md
Raw file servicenow.com

Add logic and automation to your application. Learn about logic and automation in App Engine Studio and how we automate the employee travel request application.

We continue building the employee travel request application by adding logic and automation.

This is the fifth step in the app creation tutorial. In this step, you learn about logic and automation in App Engine Studio. You build a decision table and create a flow for the employee travel request application.

Step 1

[Omitted image "app-tutorial-progress-complete2.png"] Alt text: Completed icon

Planning your application

Step 2

[Omitted image "app-tutorial-progress-complete2.png"] Alt text: Completed icon

Create an app

Step 3

[Omitted image "app-tutorial-progress-complete2.png"] Alt text: Completed icon

Building a data model

Step 4

[Omitted image "app-tutorial-progress-complete2.png"] Alt text: Completed icon

Creating user experiences

Step 5

[Omitted image "app-tutorial-progress-wip.png"] Alt text: In progress icon

Adding logic and automation

Step 6

[Omitted image "app-tutorial-progress-not-started.png"] Alt text: Not started icon

Test your application

## Overview of logic and automation

Logic and automation enable you to define the actions that your application performs and the conditions that trigger those actions. Logic helps you define when certain actions should occur. For example, your application logic can determine whether support tickets are marked as "critical." Automation then defines the actions that the application performs. For example, if support tickets are marked as "critical", your application automation can move those tickets to the top of the queue.

There are several ways to implement logic and automation in App Engine Studio. Our tutorial focuses on decision tables and flows. To learn about the full range of logic and automation capabilities in App Engine Studio, see Add logic and automation.

Tutorial logic and automation

In our tutorial, we create a decision table and a flow to store the logic and automation for the employee travel request application. Decision tables enable you to set and manage business logic in your application separate from your code. The decision table in our tutorial determines which regional heads receive travel requests based on employees' geographic location.

Flows are automated processes that use a trigger, actions, and logic to define the behavior of an application. The flow in our tutorial defines the sequence of actions that the employee travel request application completes once a travel request is created.

We add logic and automation to our application in two phases:

## Next steps

Start adding logic and automation to the employee travel request application: Build a decision table.

Search documentation
Search document titles and file paths on the brazil branch