Workflow exercise

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:

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 "


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)

B)

2 Likes