Leave a comment at the end of this page or email contact@krishagni.com
Configuring Tasks & Workflows
- 1 Who can configure workflows?
- 2 Workflow configuration
- 2.1 Workflow JSON
- 2.2 Workflow JS
- 2.2.1 Fields Configuration:
- 2.2.1.1 Participant Level Fields
- 2.2.1.2 Visit Level Fields
- 2.2.1.3 Specimen Level Fields
- 2.2.1.4 Custom Fields
- 2.2.1.5 Form/Event Fields
- 2.2.1.6 Distribution Level Fields
- 2.2.1 Fields Configuration:
- 2.3 Supported Tasks
- 3 Managing Workflow (In Progress)
Who can configure workflows?
Super Admins can configure workflows for different groups based on their SOPs by default
Institute admins have the authority to create and update workflows created by users within their respective institute
Users with "manage workflows" permission in their profile can create or update workflows, limited to those created by users within their institute
This approach ensures workflow configuration is efficiently distributed among users with relevant expertise and understanding of their institute's workflows. By tailoring workflows to each user group's specific needs, OpenSpecimen maximizes efficiency and effectiveness in specimen management and research processes.
Workflow configuration
A workflow comprises a JSON file, tasks, and one or more JS files.
Workflow JSON
JSON file: The JSON file is named ‘workflow.json’. This file consists of all the tasks that are to be added within the workflow.
If tasks in your workflow are related to adding specimen events like clotting, spun events, frozen events, etc., it can be configured within the JSON file.
Workflow JS
JS files: Each action performed on a specimen has its own task specific configuration regarding what fields should be displayed, setting default values for fields, etc.
Fields Configuration:
Participant Level Fields
Visit Level Fields
Specimen Level Fields
Custom Fields
Form/Event Fields
Distribution Level Fields
Supported Tasks
A workflow comprises multiple specimen actions, each of which has a specific type.
Managing Workflow (In Progress)
Create
Import File
Sharing Workflows with Users
Adding Specimen Rules and Waiting Queue
When you create a workflow with specific rules, ONLY the specimens matching the criterion will be allowed to use the workflow and will also get added to the waiting queue.
Configure SOP
You can add a detailed SOP as mentioned below in your workflow.json file:
Screenshot of the output:
Example JSON
Leave a comment at the end of this page or email contact@krishagni.com