Workflow Framework: Tasks
The LogicNets system allows you to add workflow functionality to applications you create using the Application Starter Portal Framework. This functionality supports the following:
- Task creation
- Role-based task actions
- Task lists
- Sequential and/or parallel workflows
- Task locking
- Persistent workflow data objects that can be passed between tasks
Workflows are modelled as logicnets like the one in the diagram below, but these logicnets are slightly different than non-workflow logicnets in that they contain task nodes.
Each task node represents a distinct step or unit of execution within the workflow, and the workflow steps from one task to the next based on the outcome of that task. Each task node has the following configuration options:
Field Name | Description/Use | Type/Options | Optional/Mandatory |
Task label | This is the label of the task as shown in the logicnet. | Text | Optional |
Task type | This is the type of task.
|
User | System |
Mandatory |
Subject | This is the title of the task if it displays to users. | Text | Optional |
Display | When this parameter is set to Yes the system assumes the task has a user interface and will render a top bar with navigation and action buttons. The system will also include a message area where validation errors display if necessary. If this parameter is set to No the system assumes the task is a processing task or has a custom user interface that implements the navigation bar and errors if necessary. |
Yes | No |
Mandatory |
Outputs | This is the outputs for the task. Each output has the following parameters:
|
Collection |
Mandatory |
Actions | This parameter is only applies when Display is set to "yes". These are the buttons the system will display on the top bar for triggering another logicnet. Each action has the following parameters:
|
Collection |
Optional |
Task net | This is the logicnet the system will call when the task is executed. | Logicnet |
Mandatory |
Load net | This is the logicnet the system will call to load task data. If this is not specified the system will load task data from default task storage. | Logicnet |
Optional |
Save net | This is the logicnet the system will call to save task data. If this is not specified the system will use the default saver. | Logicnet |
Optional |
Pre-process net | This the logicnet the system will call before the start of the task; for example, to pre-process data. | Logicnet |
Optional |
Post-process net | This the logicnet the system will call after the task logicnet; for example, to perform post-processing actions. | Logicnet |
Optional |
Parameters | These are the input parameters for the task. The system supports string interpolation. | Text |
Optional |
Planned start | This is the date after which the system must start the task. It is only applicable for system tasks. | Date |
Mandatory |
Tags | This is the meta-data associated with the task. Each tag has the following parameters:
|
Collection |
Optional |