Workflow Configuration
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Workflow Configuration

Introduction

Users with the necessary permissions to configure workflows can create custom workflows tailored to their needs. They can add any number of steps to their workflow to align with their Standard Operating Procedures (SOP).

Prerequisites

Before creating a workflow, ensure the following prerequisites are met:

Video

Workflow Management

The workflow management approach ensures that workflow configuration is efficiently managed by users with expertise and understanding of their institute's processes. By allowing each user group to tailor workflows to their needs, OpenSpecimen maximizes efficiency and effectiveness in specimen management and research operations.

  1. Super Admins can configure workflows for different groups based on their SOPs by default

  2. Institute admins have the authority to create and update workflows created by users within their respective institute

  3. Users with ‘Manage Workflows’ permission in their profile can create or update workflows, limited to those made by users within their institute

Manage workflow setting in the User page

Create Workflow

The user can create custom workflows by importing a zipped https://openspecimen.atlassian.net/wiki/x/HQDvmg files. Alternatively, the user can directly import the ‘workflow.json' file after linking it with the library task. For more details visit https://openspecimen.atlassian.net/wiki/spaces/CAT/pages/edit-v2/3096674356#Connect-Library

Steps to create a workflow

Below are the steps you can follow:

  1. Navigate to → Workflows Module → Click on 'Workflows' button.

  2. Choose any workflow → Click on the dropdown icon → 'Download JSON'. You can use this as a template for your new workflow or choose any workflow from the example list.

    image-20240521-093524.png
  3. Extract the zip file and open the ‘workflow.json’ file on any text editor.

  4. Update the ‘attribute' values of the file based on your requirement on the ‘workflow.json’ file. Refer to the components section for more details.

  5. Refer to the workflow JS files from download and create your own JS file based on your requirements. Refer to the wiki page for workflow components, fields, and example list.

  6. Once #3 and #4 are complete, compress all the files into a single zip file.

  7. Navigate to the workflow page → Click on the ‘Import' button→ Choose the zip file → Click on 'Import’.

    image-20240521-095147.png

     

The example workflow used in the video demonstration

Update Workflow

Users can update the workflow either via UI or import.

User Interface (UI)

Users can update basic workflow details directly from the UI such as - Title, Short Code, Descriptions, Batch Format, Collection Protocol list, Waiting Queue User Group, and Specimen Rule. For advanced-level changes, the user must use the import option.

  1. Navigate to the workflow list view page and click on the edit workflow icon.

    image-20240628-094421.png
  2. Update details and click on the 'Update' button.

    image-20240628-094607.png

Import

Users can use the import option to update - the workflow's basic settings and task-related changes.

  • When updating the workflow in OpenSpecimen, it's crucial to ensure that the ‘name’ attribute in the workflow.json file remains unchanged. OpenSpecimen relies on the ‘name’ attribute to identify and update the existing workflow.

  • If the ‘name’ attribute is modified by the user, OpenSpecimen will interpret it as a new workflow, thereby creating a duplicate.

  1. Navigate to the workflow list view page and click on the import button.

    image-20240628-100822.png

  2. Choose the updated configuration file and click on 'Import'.

    image-20240628-101012.png

Archive Workflow

Users can archive the workflow if the workflow is not in use.

  1. Navigate to the workflow list view page and click on the dropdown icon for the workflow of your choice.

  2. Click 'Archive'

    image-20240628-101324.png

     

Unarchive Workflow

Users can unarchive or reactivate the workflow if they need it again.

  1. Navigate to the workflow list view page → Click on the search icon on the right side and search for ‘Archived’ workflows.

    image-20240709-121632.png
  2. Choose the workflow you want to unarchive and click on dropdown option.

  3. Select ‘Activate’.

    image-20240709-121930.png

 

More Details

For the workflow audit, please click here.

Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com