# Workflow exercise

**URL:** <https://community.novulo.com/t/workflow-exercise/592>\
**Category:** Onboarding\
**Tags:** exercise\
**Created:** [December 12, 2024, 8:28am UTC](https://community.novulo.com/t/workflow-exercise/592 "2024-12-12T08:28:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![j.batzke](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/j.batzke/32/9_2.png) [@j.batzke](https://community.novulo.com/u/j.batzke)\
**Post date:** [December 12, 2024, 8:28am UTC](https://community.novulo.com/t/workflow-exercise/592/1 "2024-12-12T08:28:29Z")

</div>

Estimated duration: 1 hours
# Introduction

Workflows are used to automate application specific business processes. They can be triggered by the scheduling service; manually; or by components. An example of a workflow is a nightly update of price information.

## What you are about to learn

- How to configure a workflow configuration from start to finish.
- How to make use of existing processes that are part of your application.
- How to run your workflows, either manually or via scheduling service.
- How to debug your workflow.

## Prerequisites

- A personal training environment.

> Contact your Novulo consultant if you do not have access to a personal training application for exercises yet. Most exercises only work in combination with a selected set of training data and not in any application.

* * *

# 1. Run a workflow

A) Run a workflow using the workflow configuration “Training exercise 1a”. What is the outcome of the workflow?

If you get stuck, read this post:

- [Step by step: How to run a workflow](https://community.novulo.com/t/how-to-run-a-workflow/527)

### Solutions

> **A)**
>
> User with e-mail address: ‘your.email@adress.com’ has counted X products.”

* * *

# 2. Create workflow configuration

A) Create a workflow configuration that adds a product with name “Workflow product” + date and time.  
B) Run the workflow and check if your product was added as expected.

> **Learnings**
> 
> - Making use of “Add/Edit”, a common process that is used a lot in the Architect and workflows.
> - Field validations, and how to fix/adhere to those validations.

### Solutions

> **A)**
>
> The result should be a new workflow configuration.

> **B)**
>
> The result of running the workflow is that a new product is added with the name " Workflow product" + date and time "
> 
> ![Untitled](https://canada1.discourse-cdn.com/flex008/uploads/novulo/original/2X/2/23018476f36af2d5b004c6bdb0ac3236571a6c0e.png)

* * *

# 3. Create a workflow configuration with user input

A) Ask the user for a Product name and the product code  
B) Run the workflow.

> **Learnings**
> 
> - How to add user input in your workflow configuration.
> - There are different reasons for creating a workflow, and one reason is to add decisions a user must make for the process to make sense.

> **A)**
>
> ![Untitled](https://canada1.discourse-cdn.com/flex008/uploads/novulo/original/2X/f/f042563965fb942c04fa3452f74919c9ad09284c.png)

> **B)**
>
> ![Untitled](https://canada1.discourse-cdn.com/flex008/uploads/novulo/original/2X/e/e92f6873f37ee9f3ce59a4f5118344473e28b389.png)
