---
sourceDocument: Australia Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/application-development

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Adding logic and automation

# Adding logic and automation {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

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 | ![Completed icon]() | [Planning your application](https://servicenow-prod.fluidtopics.net/X~bkabW21jFH0DgDcx3bEA "Plan out your application before building it to streamline the development process.") |
| Step 2 | ![Completed icon]() | [Create an app](https://servicenow-prod.fluidtopics.net/wgG2lr3NrqK_Ap5Tq0H7Og "When you're ready to start building your application, begin creating your application in App Engine Studio.") |
| Step 3 | ![Completed icon]() | [Building a data model](https://servicenow-prod.fluidtopics.net/uSa6xVRyCdxbfhfBcPZLpg "After creating an application, start building the data model for the application. Learn about what a data model is and how we build the data model for the tutorial application.") |
| Step 4 | ![Completed icon]() | [Creating user experiences](https://servicenow-prod.fluidtopics.net/nW87z4W_QsnGer36cI0J6w "Create the user experiences for your application. Learn about experiences in App Engine Studio and how we build the user experience for the employee travel request application.") |
| Step 5 | ![In progress icon]() | [Adding logic and automation](https://servicenow-prod.fluidtopics.net/DFhWfkJIe1wszQfNALtneg "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.") |
| Step 6 | ![Not started icon]() | [Test your application](https://servicenow-prod.fluidtopics.net/1yTvIKVrvqapOwGo8J6AIg "Verify that your application works as intended before publishing by testing the application experience and flow.") |
[ ]

{#app-tutorial-logic-automation-layer__table_odl_xfd_fdc}

## Overview of logic and automation {#app-tutorial-logic-automation-layer__section_ezp_y5w_2dc}

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](https://servicenow-prod.fluidtopics.net/MB2N1qD51Od8TGrFJvYonQ "Replace manual work by adding logic and automation to your app in App Engine Studio (AES).").

## Tutorial logic and automation {#app-tutorial-logic-automation-layer__section_c3s_kvw_2dc}

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:

|-|-|
| Phase 1 | [Build a decision table](https://servicenow-prod.fluidtopics.net/SEDMHRRD9dvq_UTHTVPoGA "Build a decision table for the employee travel request application that determines which regional head to route travel requests to.") |
| Phase 2 | [Create a flow](https://servicenow-prod.fluidtopics.net/4zYDtqa7~WEfwS7Z6_hkKQ#app-tutorial-create-a-flow "Automate the workflow for the employee travel request application by creating a flow.") |
[ ]

{#app-tutorial-logic-automation-layer__table_c53_qvw_2dc}

## Next steps {#app-tutorial-logic-automation-layer__section_g3r_2tv_2dc}

Start adding logic and automation to the employee travel request application: [Build a decision table](https://servicenow-prod.fluidtopics.net/SEDMHRRD9dvq_UTHTVPoGA "Build a decision table for the employee travel request application that determines which regional head to route travel requests to.").

