Lifecycle State - Update Permission

Set up user permissions on lifecycle states

Introduction

You can set up restrictions that determine which lifecycle states a user is allowed to use on work orders. When you've set up restricted lifecycle state movement for users they can only select the lifecycles states allowed for work orders in Asset management.

Overview

In standard Asset management, you set up lifecycle states for Work orders. Refer to the link for Microsoft documentation on how to work with the standard setup of lifecycle states in Asset management.

Lifecycle states determine the states a work order can go through, for example 'New', 'Active', 'Scheduled', 'In progress', and 'Completed'.

Define user permissions

You can set up restrictions for lifecycle states for selected users/user groups and maintenance workers/maintenance worker groups regarding which lifecycle states they are able to use.

Example: On a work order, available lifecycle states for a released work order are 'Pending', 'In progress', 'Completed', and 'Finished'. You can create a setup for each user/user group or maintenance worker/maintenance worker group allowing them to be able to select only 'In progress' and 'Completed' when they work on a work order.

Lifecycle State Permissions

Restrictions regarding the use of lifecycle states are set up in an update permission form. For each user/user group or maintenance worker/maintenance worker group, a line is created for work order lifecycle states, and permitted states for that user or group is selected.

Refer to Microsoft documentation to learn more about the setup of users and user groups in the System administration module in D365FO:

Refer to the test case below for a step-by-step procedure on how to set up lifecycle state update permissions.

The screenshot below shows an example of the Lifecycle state update permission form. The available state types are highlighted in the red box to the left and you can see that Work order lifecycle states is chosen. In the Permission states FastTab, the work order lifecycle states selected for the user group 'Maint-Elec' are highlighted in the red box.

  • In the Lifecycle state type drop-down to the left, you can filter permissions by lifecycle state to choose work order lifecycle states.
  • When you select a lifecycle state type to the left, the selection in the Permission owner field is shown as a link. You can select that link to open the user/user group or maintenance worker/maintenance worker group setup.

Lifecycle state update permission form.
Lifecycle state update permission form.

Set up Lifecycle State Update Permissions

Data Requirements

  1. Users and user groups have been set up in the System administration module in D365FO.
  2. Users are assigned the relevant security roles in D365FO, allowing them to make lifecycle state updates.

Steps 9

  1. Select Asset management > Setup > Lifecycle state update permissions.

  2. Select New.

  3. In the General FastTab, select Work order lifecycle states.

  4. In the Permission owner type field, select either User, User group, Maintenance worker, or Maintenance worker group, depending on who you're creating the update permission for.

  5. In the Permission owner field, select the user/user group or maintenance worker/maintenance worker group that the update permission setup should be available for.

  6. Select Save to update the screen and show the available lifecycle states on the Permission states FastTab.

  7. On the Permission states FastTab > Lifecycle states remaining section, select the lifecycle states that should be available for the selected user/user group or maintenance worker/maintenance worker group. Press the 'Ctrl' button during selection to multi-select.

  8. Select the right-arrow button to move your selection to the Lifecycle states selected section.

  9. Optional: To remove permissions for a selected permission setup, select the lifecycle states to be removed in the Lifecycle states selected section, then select the left-arrow button.

Expected

The user can create a lifecycle state update permission record for a selected user/user group, or maintenance worker/maintenance worker group regarding work order lifecycle states.

Integration and Usage

When you've completed setup regarding permissions for lifecycle state updates in Asset management, the selected users are able to only select the lifecycle states available for work order lifecycle states according to that setup.

Note: If some users (workers) are not set up with specific lifecycle state update permissions, they are able to select all lifecycle states available, according to your standard setup in Asset management.

The permission setup uses the standard setup created for lifecycle models in Asset management. Refer to Microsoft documentation regarding lifecycle model setup for Work orders.

For each lifecycle state in a lifecycle model, you determine which lifecycle states should be available as the next possible lifecycle state. That, in combination with any user permission setup determines which lifecycle states are available to a user. If a user/maintenance worker is part of two or more user groups/maintenance worker groups and updates a lifecycle state, the user will have access to all permissions specified in all of the groups.

Example: A work order is created and currently in work order lifecycle state 'Released'. The work order lifecycle model setup allows for four possible updates from state 'Released' (refer to screenshot 'Screen 01' below). A worker (an electrician) who is working on a work order is included in the work order lifecycle state permission setup created for the group 'Maint-Elec' (refer to screenshot 'Screen 02' below). When the worker selects Update work order state on the work order, he or she is only able to select 'InProgress' as the next lifecycle state (refer to screenshot 'Screen 03' below). After the user has updated the state to InProgress, the user is able to update the state to 'Completed' (refer to screenshot 'Screen 04'). Only the states checked as available can be updated.

In the case when a user belongs to for instance two maintenance worker groups, eg. Electricians and Mechanics, the user will have permission to update the lifecycle state based off the permissions that are specified for the Electricians group and the Mechanics group.

Screen 01: Work order lifecycle states allowed from the 'Released' lifecycle state.
Screen 01: Work order lifecycle states allowed from the 'Released' lifecycle state.
Screen 02: Work order lifecycle state permissions setup up for the 'Maint-Elec' user group.
Screen 02: Work order lifecycle state permissions setup up for the 'Maint-Elec' user group.
Screen 03: The user has access to update the current state 'Released' to 'InProgress'. The 'InProgress' state is checked as available. States that are not checked as available can't be updated at this point.
Screen 03: The user has access to update the current state 'Released' to 'InProgress'. The 'InProgress' state is checked as available. States that are not checked as available can't be updated at this point.
Screen 04: After updating to the state 'InProgress' the user has now access to update the state to 'Completed'. The 'Completed' state is checked as available. States that are not checked as available can't be updated at this point.
Screen 04: After updating to the state 'InProgress' the user has now access to update the state to 'Completed'. The 'Completed' state is checked as available. States that are not checked as available can't be updated at this point.

Copyright Dynaway A/S

Privacy Policy