Workflows¶
A workflow is the set of states something moves through, such as Draft, Pending Approval and Approved. It also sets the changes that move it from one state to the next. Wherever a workflow applies, the page shows the current state with a Change button, which lists the changes you can make from that state.
This page explains how workflows are set up on your site. It covers which workflows your authoring content follows, how to rename states and changes, and which roles can make each change.
Important
The workflows themselves are built into Insights: their states, the changes between them and the content each one can be used for. Janison sets them up on the global tenant when your site is implemented. To change a workflow, speak to your Janison account manager.
Where Insights uses workflows¶
Insights uses workflows for many features. These pages cover the ones you'll work with most:
- Items, test sections and tests go through review and approval. See Review and approval and Item quality control.
- Assessment events move from Draft to Delivery, then Closed. See Assessment events.
- Test attempts move through statuses such as Open, Completed and Marked. See Test attempt workflows.
- Marking projects move from Setup to Marking, then Closed. See Transition marking project.
View the workflow definitions¶
Each workflow is set out in a workflow definition. To see them, select Settings > Workflow definitions. The list shows every workflow on your site, with a description of what it's for.
Open a workflow to see its initial state and its Workflow State Transitions. This section lists every change with the state it goes From and To, and its Description. Applicable Documents shows the types of content the workflow can be used for.
Choose the workflows for authoring content¶
Items, test sections, tests, stimuli and resources follow the workflows chosen for their module. A type of content with no workflow chosen has no workflow states.
Workflows are chosen at 3 levels. Each level fills in the next one for new content:
- Your site's defaults fill in each new discipline and module.
- A discipline's defaults fill in each new module in that discipline.
- A module's workflows are the ones its content follows.
Changing a default doesn't change the disciplines or modules that already exist.
Set your site's defaults¶
Select Settings > Test Designer Settings and expand Default Settings For Disciplines / Modules / Item Analysis. Under Workflows, choose the workflows for Tests Workflow and Items Workflow, then select Save.
Set a discipline's defaults¶
A discipline's Module Defaults fill in the workflows on each new module in that discipline. They cover the tests, test sections and items workflows, and whether items follow test sections and test sections follow tests. See Disciplines.
Set a module's workflows¶
On a new module, or when you edit one, choose a workflow in Tests Workflow, Test Sections Workflow, Items Workflow, Stimuli Workflow and Resources Workflow. Each list offers only the workflows set up for that type of content.
When you choose the discipline for a new module, its Module Defaults fill in the tests, test sections and items workflows.
The follow options pass a change down to the content inside. Content follows only when it's in the same state and uses the same workflow.
- Resources follow Items — a change to an item is also made to the resources it uses.
- Stimuli follow Items — a change to an item is also made to the stimuli it uses.
- Items follow Test Sections — a change to a test section is also made to its items.
- Test Sections follow Tests — a change to a test is also made to its test sections.
With Items follow Test Sections and Test Sections follow Tests both ticked, a change to a test reaches its items too.
When you've finished, select Save. The module's page then lists its workflows and follow options.
Once any item in the module has changed state, the module's workflows are locked, and a message says they can't be edited.
Rename workflow states¶
State names are string resources, so you rename them at Settings > String Resources. See String resources for how to search for one and change it.
Each set of states has its own string resources, so renaming Approved in one set leaves it unchanged in the others. To find a state, search for its name. The start of its key names the set, such as JService/ItemWorkflowState for Item Workflow and JService/TestWorkflowState for Test Workflow.
Several workflows can share a set. This search for JService/StandardWorkflowState lists the states that most High stakes and Low stakes workflows use.
Rename changes¶
You can give a change your own name and description. The Change menu then shows yours in place of the original.
Open the workflow at Settings > Workflow definitions. In Workflow State Transitions, select the pencil. Fill in Custom Name and Custom Description for each change you want to rename, then select Save. To go back to the original, clear the field. The pencil shows only if your role allows it.
Notifications sends an Event Hub notification each time someone makes the change, if your site is connected to an Event Hub. See Event Hub & Service Bus Integration.
Configure workflow permissions for roles¶
A role's permissions can control 4 actions in each workflow:
- Edit — the states in which the role can edit content
- View — the states in which the role can see content
- Delete — the states in which the role can delete content
- Transition — the changes the role can make.
An action appears under a workflow only when Janison has made it configurable for that workflow, on the global tenant. Once it has, a role can take that action only in the states, or for the changes, it's allowed. To make an action configurable, speak to your Janison account manager.
Open the role at Settings > Roles, then select the Rapid Edit icon next to Securable areas of the application.
- In Search, type the name of the workflow, such as 'test workflow'.
- Under Workflow, expand the workflow, then expand Edit, Delete, View or Transition.
- For each state or change, select Allow or Deny. Inherit takes the setting from the level above. Each selection is saved as soon as you make it.
- Select Done. To undo every change you've made, select Rollback instead.
Settings¶
These settings affect workflows.
At Settings > Test Designer Settings:
Tests Workflow and Items Workflow, in Default Settings For Disciplines / Modules / Item Analysis — the workflows that new disciplines and modules start with. See Set your site's defaults.
Approved test states, in Test Authoring Settings — the test states that count as approved on an assessment event's Event Overview.
Allowed Item states in which test can be transitioned, in Test Authoring Settings — the item states that count as approved on the Event Overview. With none chosen, every item counts as approved.
Blueprint Item Approval States, in Test Authoring Settings — the item states that blueprint autofill chooses from. See Blueprints.
At Settings > Tenant Settings > Miscellaneous:
Hide unauthorized workflow state transitions — hides the changes a role isn't allowed to make from the Change menu. Off by default, so the menu lists them too.
In each workflow definition, Janison sets these on the global tenant:
Applicable Documents — the types of content the workflow can be chosen for.
Configurable Workflow Security Actions — which of Edit, Delete, Transition and View appear under the workflow in each role's permissions.






