Versions Compared

Key

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

There are many classes of information in any given web application, so its important to understand what qualifies as a workflow variable. In Joget, workflow variables typically represent data elements that needs need to be represented as a whole across the entire process as a whole. They are generally used to aid conditions and decisions within your process and aren't , and they are not specific to any single activity. Take our example for instance: the requestor would probably fill out a bunch of information when applying for leave ( For instance, in our sample Leave Application process, the requestor will have to provide information (i.e., date of application, duration of leave, reasonsreason, etc.) when applying for leave. While those are data that needs need to be stored, they aren't necessarily workflow variables since they apply only to that one form and don't really aid in determining the flow of information for in our process.

On the other hand, when the supervisor decides to accept/reject a leave application, it will change the course of process flow is altered, causing activities to be launch launched and decisions to be activated. This Thus, in our examplesample process, the variable "supervisorApproval" needs will have to be a workflow variable.

To create a workflow variable:

1. Right-click on your process an in the process tree on the left and , then select Properties.

2. Once the window popsUnder the workflow variables tab in the resulting dialog box, click on the Create New Element icon under the workflow variables tab.

3. Create a new workflow variable called "supervisorApproval".

Your entire workflow variable list will be displayed in the properties Properties window. Double-clicking on an item will allow you to modify it.