Workflows
Configure workflow and steps

Overview

A workflow consists of an orchestrated and repeatable pattern of activity, enabled by the systematic organization of resources into processes that transform materials, provide services, or process information.
A Laboratory Information Management System (LIMS) allows you to effectively manage the flow of samples and associated data to improve lab efficiency. A LIMS helps standardize workflows, tests, and procedures while providing accurate controls of the process. Instruments may be integrated into the LIMS to automate the collection of test data, ensuring they are properly calibrated and operated by trained staff only.
Labii ELN & LIMS has integrated a sophisticated workflow management system to guide our users to document the data with a predefined process.
This documentation demonstrates how to create a workflow and add steps, please refer here to use and display the workflows.

Workflows

Workflows are table-specific at Labii ELN & LIMS. Multiple workflows can be created for a table, but only one workflow can be selected for a record.
Workflow can be chained with the parent attribute. Chained workflows indicate they need to be processed in order, the finish of one workflow is the start of the other workflow. There is no table limit in chaining a workflow; a workflow can be chained with a workflow from a different table. All trained workflow will be displayed in the diagram.

Manage workflows

To see a list of workflow, you can use any of the following methods:
  • Settings -> Tables -> Click a table -> Click the Workflows at the sidebar
  • Settings -> Workflows -> Select a table
The list view of workflow contains these titles:
  • Name - the name of the workflow
  • Parent - parent of the workflow, use this field to chain multiple workflows
  • Number of Steps - the number of steps of the workflow
  • Is Archived - is the workflow archived
  • Table - the table of the workflow
  • Delete - use the delete icon to delete the workflow

Add workflow

Click the Add workflow from the sidebar or the "+" icon from the navbar at the workflow list view to add a workflow.
Use the Parent field to choose a parent workflow.
This is no limit for the parent workflow. A workflow from a different table can be chosen.

Delete workflow

A workflow is a guideline of process at Labii, it does not create any original data and therefore, they can be deleted.
To delete a workflow, click the "Delete" icon on the list view of workflow.

Steps

A workflow can have many steps. Each step can be chained with "Parent" and can redirect to a different step via "Redirect To".

Manage steps

Click "Steps" at the detailed view of the workflow to get a list of steps.

Add steps

A step can be added via clicking the "Add Step" from the sidebar or "+" at the navbar.
Here are the fields of step:
  • Parent - the parent of the step. Choose a step from the previous workflow to connect two workflows
  • Name - Name of the step, use letters and number only
  • Description - the description of the workflow, or instructions, letters, and number only
  • Shape - The shape of the node. Learn more at https://mermaid-js.github.io/mermaid/#/flowchart?id=node-shapes
  • Action - the action to complete the step
  • Condition - the condition leads to the current step, letters, and numbers only. The condition will be added to the arrow between two boxes in the diagram.
  • Protocol - the protocol to guide the step. This protocol can be any record created and will be included in the box.
  • Redirect To - redirect back to a previous step, this can be used to create a repeat loop
  • Color - the color of the box
  • Teams - the teams who have the permission to perform the action of the step

Action

The action requires two parameters, action and parameters:
Action
Description
Parameters
PASS
Make the step as completed without any further action
-
OPENLINK
Open an URL
URL
OPENSECTION
Open the workflow view of the section
Section order
Or Section name
FORMULA
Execute a formula, return true or false
{"rows":[], "formula":""}
Variables that can be replaced in the parameters:
  • {{SID}} - The SID of the current record.
  • {{UID}} - The UID of the current record.
  • {{NAME}} - The name of the current record.
  • {{PROJECTS}} - The projects data of current record.
Example:
1
# opan a link
2
{
3
"action": "OPENLINK",
4
"parameters": "https://www.xxx.com"
5
}
6
# open a gmail
7
{
8
"action": "OPENLINK",
9
"parameters": "https://mail.google.com/mail/?view=cm&fs=1&[email protected]&su=SUBJECT&body=BODY&[email protected]"
10
}
11
# use add form to add new records
12
{
13
"action": "OPENLINK",
14
"parameters": "/form/rows/experiments/0/?d0RLUmZpZWxkc19kaXNhYmxlZHlIUVo_=is_archived"
15
}
16
# add notification
17
{
18
"action": "OPENLINK",
19
"parameters": "/form/settings/notifications/0/?d0RLUmZpZWxkc19kaXNhYmxlZHlIUVo_=is_archived"
20
}
Copied!
Use this tool to create a prefilled form link: https://www.labii.app/tools/data-to-url/

Delete step

A step can be removed via clicking the "delete" icon in the step list view.
A workflow in Labii is table specific, based on the type of data you are storing, the corresponding workflows can be created under the table. A table can have more than one workflow, each of the record under the table can choose one record to follow.
A workflow in Labii can have many steps. Steps are guidelines of the workflow, it indicates what needs to be done and how to do that.
Workflows can be chained, the completion of one workflow can lead to the start of the other workflow.

How to use

The workflow can be displayed and used with the Workflow widget. Learn more here.
Last modified 2mo ago