A workflow definition controls how units move through production. This article shows how to create a definition, define which units it applies to, and design the workflow.
Prerequisites
- A WATS On-Premise installation. Workflow is not currently available for WATS Cloud.
- Workflow must be enabled for your WATS account. It is disabled by default. To have it enabled and configured, contact WATS.
- Your role must have the Workflow permission. It is under Control Panel > Process & Production > Production Manager in Roles and permissions. The Workflow permission gives access to the module. Its sub-permissions control what you can do there:
| Permission | Allows |
|---|---|
| Write | Creating and editing workflow definitions. |
| Delete | Deleting workflow definitions. |
| Move to pending | Moving a workflow definition to Pending. |
| Release workflow | Releasing a workflow definition. |
| Revoke workflow | Revoking a workflow definition. |
| Workflow designer | Opening the Workflow designer tab. |
- The WATS Sequence designer desktop application, which is needed to design the workflow. The installation steps are under Design the workflow.
Create the definition
- Open the WATS Control Panel.
- In the Process & Production menu, select Production manager.
- In the list, select the folder where the definition should be stored.
- On the ribbon, select New... > Workflow definition. The new definition appears in the selected folder with the status Draft.
- Select the new definition in the list. Its details open on the right, in three tabs: Workflow overview, Workflow designer and Relations.
Name the definition
- Select the Workflow overview tab.
- In Name, enter a name for the workflow definition.
- In Description, enter a short description. This is optional.
The name can only be changed while the status is Draft. After the definition is moved to Pending or Released, the name is locked.
The Workflow overview tab also shows the status, the version, the number of active instances, and who created, modified and released the definition. If the definition has no relations yet, a warning is shown: No relations defined for this workflow definition.
Define which units the workflow applies to
Relations decide which units the workflow is used for. A unit is assigned a released workflow when both of these are true:
- The unit's current phase is one of the phases selected for the workflow.
- At least one of the workflow's relations matches the unit.
If several relations match a unit, they are used in this order of priority:
- Serial number
- Batch number
- Product revision
- Part number
A unit that has already started a workflow keeps it. Changes to phases or relations only affect units that start a workflow after the change.
Select the phases
- Select the Relations tab.
- Open the Phases list and select each unit phase the workflow should respond to, for example Under production or Production Repair.
- Close the list. The selected phases are saved automatically.
Add a relation
- In the relations grid, select Add. A new row appears in the grid.
- In Relation type, select what the workflow is linked to:
- Part number
- Product revision
- Serial number
- Batch number
- In Value, enter the part number, revision, serial number or batch number.
- Optional: in Sites, select the local servers (sites) that should receive the relation through server sync, or select All sites. The Sites column is only shown when server sync is configured. If no site is selected, the cell shows (No server sync selected). The relation is then used on this server only, and is not distributed to any local server.
- Select OK. The relation is saved and appears in the grid. To discard the row, select Cancel instead.
Edit or delete a relation
- To change a relation: select it in the grid, select Edit, make the changes, and then select OK.
- To remove a relation: select it in the grid and then select Delete.
Design the workflow
Workflows are designed in the WATS Sequence designer, a desktop application installed on your computer.
- Select the Workflow designer tab.
- If the WATS Sequence designer is not installed, or a newer version is available, select Install designer. Then run the installer.
- Select Download definition. The definition is downloaded to your computer.
- Open the downloaded file. It opens in the WATS Sequence designer.
To read more about the designer, see WWF Designer - Installation – WATS Support Center.
Change the workflow status
Each workflow definition moves through these statuses: Draft, then Pending, then Released. Select the definition and use these ribbon actions:
| Action | Result | Required permission |
|---|---|---|
| Move to pending | Changes the status from Draft to Pending. | Move to pending |
| Release | Releases the workflow so that it is used in production. | Release workflow |
| Move to draft | Returns the workflow to Draft so that it can be changed. | Move to pending |
| Revoke | Takes a released workflow out of use. | Revoke workflow |
When a new version of a workflow is released, the previous version is revoked automatically.
A released workflow definition cannot be deleted.
Other ribbon actions
| Action | Description |
|---|---|
| New... | Creates a new item, such as a workflow definition, in the selected folder. |
| Create copy | Creates a copy of the selected workflow definition. To rename the copy, change Name on the Workflow overview tab. |
| Delete | Deletes the selected item. Requires the Delete permission. |
| Move entity | Moves the selected item to another folder. |
Comments
2 comments
My Manual Inspection screen has this option but it is greyed out and I cannot click on it.
Is this an extra module that we need to pay for or has it been disabled?
Hi Alex,
Yes, that's correct. We do offer this module for WATS On-Premise, but currently not for skyWATS. This is mostly because of performance concerns, as it may require a lot of server resources, which again affect the overall performance.
Please sign in to leave a comment.