Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Workflow Variables in Joget: A Brief Overview

Workflow variables in Joget are key data elements that are essential for the overall operation and flow of a process. Unlike data specific to individual forms or activities, workflow variables have a broader scope and are used throughout the entire process. Their primary role is to facilitate decision-making and condition handling within the workflow.

For example, consider a Leave Application process. The details filled in by an employee, such as the date of application, duration of leave, and reason for leave, are important but typically don't qualify as workflow variables. They are specific to that particular form and do not influence the overall process flow.

In contrast, a variable like "supervisorApproval" in the same Leave Application process is a perfect example of a workflow variable. This variable becomes crucial when a supervisor's decision (accept or reject) alters the course of the workflow, triggering different activities or decisions. It is this kind of data element – one that has a significant impact on the process flow and is relevant across various stages of the process – that embodies what a workflow variable is in Joget.