You can automate the process of updating work order lifecycle states on work orders in Asset management. Work order lifecycle updates can be done on several work orders at a time. It can be initiated manually, or you can schedule a batch job to handle the update.
You have completed the setup of assets and work orders in Asset management.
In standard Asset management, you can update work order lifecyce states on several work orders at a time by selecting work orders in a work orders list, if the selected work orders have the same current lifecycle state.
With this functionality, you can update lifecycle states on many work orders at a time to a selected state, based on your setup. This functionality also allows you to update several active work orders at a time, also if they don't currently have the same work order lifecycle state.
You can carry out work order lifecycle state update manually, or you can set up a batch job for automatic work order lifecycle state update on a specific date and time.
The following security roles are required for working with automated lifecycle state update on work orders:
You can work with lifecycle state update service in two ways, using the Update work order lifecycle state dialog:
Refer to the test case below for step-by-step instructions on how to create automated work order lifecycle state update.
When working with automated lifecycle state update and setting up batch jobs to run regularly, here are some suggestions to optimize the work process:
Refer to Microsoft documentation to learn more about setting up and working with batch jobs in D365FO: Batch processing overview - Finance & Operations | Dynamics 365 | Microsoft Docs
The screenshots below are examples of multiple work order lifecycle states updated manually at the same time (not as a batch job) for four work orders on a specific location. Screenshot 01 shows the four work orders to be included in the lifecycle state update. Note that they have different current states. Screenshot 02 shows the four assets (selected) that each are included in a work order. Note that the assets are on the same functional location. Screenshot 03 shows the Update work order lifecycle state dialog, with a filter set up for the functional location which the assets are installed on. Screenshot 04 shows the work orders after the work order lifecycle state update.
If you initiate Update work order lifecycle state manually, messages from the update process are located in the Notification area/Show messages.
If you create a batch job setup to Update work order lifecycle state automatically, messages from the update process are located in the batch job log.
Select Asset management > Periodic > Work orders > Update work order lifecycle state.
In the Update work order lifecycle state dialog > Parameters section > Update lifecycle state to: field, select the state that you want to update to.
In the Records to include section, you can set up filters to define the criteria used as a basis for your job/batch job.
For example, you can create filter lines including specific work orders, functional locations, work order types, service levels, expected or scheduled start or end, and more. The more lines you add to the filter, the more specific the state update setup becomes.
Note: If you don't select specific work orders, all work orders matching your setup are included in the job.
If you want to set up automated work order lifecycle state update as a batch job, fill out fields in the Run in the background section, and set up Recurrence and Alerts for the batch job.
Select OK.
The user can set up automated lifecycle state update for work orders.
Automated work order lifecycle state update can be run as a one-off (manual) job, or you can set up the update process as a batch job.
After the update is completed, a message about the lifecycle state update job can be found in the Show messages section in the upper-right corner of the D365FO screen (for manually initiated jobs), or in the batch job log (for batch jobs).
Copyright Dynaway A/S