Work Queue Manager (MAS 8.11)

Last Updated on August 15, 2024 by maximosecrets

The best way to describe a Work Queue is that it is a query that will produce a result set against which one or more actions can be applied. The Work Queue Manager application will be found in the Administration module. It was new to MAS 8.11 (September 2023) which is the current release at the time of writing.

The Operational Dashboard is the modernized equivalent of the Start Center. One of the Cards (similar to a Start Center portlet) that can be added to the Operational Dashboard is a Work Queue, and when rendered this will display the work queue records and from each of these you can then see the details in a tabular form. It is these details which are equivalent to the Start Center Result Set. It is one extra click, but you only need one card to show the results of many queries instead of one Result Set portlet for each query. It should be quicker to render compared with a Start Center with several result sets portlets, and it will take up far less space as the query results open in a full-sized screen, the screen can also contain more columns than were practical in the Result Set portlet.

Modifying an existing Work Queue

The Work Queue Manager opens showing a list of existing work queues. There is an Edit button on the right of each record and a Create Work Queue button at the top right.
Work Queue Manager – List

When you enter the Work Queue Manager it shows the work queues previously created, in my case just the one called NEWSR – New Service Requests which is at Active status. This is the WORKQUEUE object defined at the System level.

On the right-hand side there is the Edit work queue button, but you need to scroll over the record to see it.

The Count is the number of records that would be retrieved by the work queue query. The State is a YORN field, Active (1) Inactive (0).

There is a three step wizard when creating or updating a work queue. Step 1 is to define the Work Queue and give it a priority relative to other work queues.
Work Queue Manager – Step 1 – Define Work Queue

If you use the Edit work queue button, you are presented with a screen designed as a wizard with three steps the first being – Define work queue.

There are just three fields displayed:

You use the blue Next button to go to the second step in the wizard.

Step 2 is Define Query. You should be able to select the Object Structure, the query and say what application should be launched. At the bottom you filter for the fields you wish to display when the work queue displays its query results.
Work Queue Manager – Step 2 – Define Query

The second step in the wizard is Define query. This is based on an Object Structure which cannot be modified, the same applies to the third field the Launch application which is defined as WOTRACK. This may be because we are modifying an existing work queue, instead of creating a new work queue, but we’ll see later when I create a new work queue. When the results of the work queue query are displayed, you can launch to the application, in this case Work Order Tracking, to see the details of the record. I’ll explain the Query field in the second half of this article.

At the bottom left you see the fields which are defined by the Object Structure, and you can select using the check box on the left the fields that you wish to see when the Work Queue is launched. There are currently four Selected fields – wonum, description, owner and ownergroup. I have filtered for all the fields with ‘prior’ in their names and I am about to add the wopriority attribute as a selected field. 

You might have noticed that while the title is NEWSR – New Service Requests, the object structure doesn’t look at service requests, but work orders. Yes, this threw me as well, confusing I agree.

Step 2 - Define Query, when you select a field from the Available Fields panel it is automatically added to the Selected Fields panel to its right.
Work Queue Manager – Step 2 – Define Query, add Selected Fields

When you select a field in the Available fields panel it is automatically added to the Selected fields panel. You can use the button to the left to drag it to reposition it, or the button to the right to deselect the field. The order of the Selected fields from top to bottom will be the order of the fields displayed left to right when the work queue shows the results of the query.

I will follow the blue Next button to get to the third step – Add actions. But notice that the Back button is enabled, and you can cancel the creation/update of the work queue.

Step 3 is optional, to select one or more actions that could be applied to the result of applying the query on the work queue.
Work Queue Manager – Step 3 – Add Actions

The third and final step in the wizard is optional, Add actions. There is already one action added WO APPR which has an action type of Change Status and will change status to APPR. These are the actions defined in the Actions application for the parent object in the object structure, in this case WORKORDER.

As I updated this work queue by adding the wopriority attribute I’ll use the blue Update button.

Reviewing the work queue on the Operational Dashboard

The Operational Dashboard has multiple cards that can be configured. The modernised look of the Start Center.
Operational Dashboard

The Operational Dashboard is the modernized equivalent to the Start Center for Maximo, I’ll be writing an article on this next. There is a vertical scroll bar on the right.

One card on the Operational Dashboard shows the Work Queue records. Each record shows the count of the query associated with the work queue.
Operational Dashboard with Work Queue card

At the bottom of the Operational Dashboard in the centre section is a card defined to show the active Work Queues. It shows the one Work Queue NEWSR – New Service Requests. There is a link on the Queue Name.

From the Work Queue card on the Operational Dashboard there is a link to show you the results of a work queue query, with the columns being the Selected Fields.
Work Queue opened from Operational Dashboard

When you open the work queue from the operational dashboard it displays the results of performing the query, in this case showing the five selected fields as columns, wonum, description, owner, ownergroup and the additional field wopriority. The column titles come from the Title attribute defined in Database Configuration for the objects.

You can filter, and open a filter record below the column titles, you can also sort by a column. I will filter for all my test records.

If you select a record from the results of a work queue query you can perform any of the actions associated with the work queue.
Work Queue opened and selected prior to performing action

If you select a record, work order 1339 in my case, the action to approve (WO APPR) appears. There is also a button on the right-hand side which launches the associated application. If you hover over the record, it says View Record. In my case it launched the Work Order Tracking application with work order 1339 selected, with the breadcrumb at the top-left which provides navigation back to the Operational Dashboard, there is also the Return button. Unfortunately, in both cases when you return any filtering, sorting, or paging has been lost. I’ve raised an IBM Support Case regarding this. 

Incidentally, the filtering, sorting, or paging is not lost if you perform the action WO APPR. When I used the action the work order was approved, and a status history record was created. I also did a test where I selected multiple work orders at WAPPR state, and they were both approved.

Creating a new Work Queue

In the Work Queue Manager when you create a work queue you need to provide a name, the description and priority are optional.
Work Queue Manager – Create – Step 1

I’ve used the button Create Work Queue and created a new work query called MYSR – Service Request where I am the assigned Owner. I’ve made it Priority 1 – Urgent.

I’ll use the blue Next button to go to the Define Query step.

In the second step in creating a new work queue you'll find that the Object Structure and Launch Application fields are hard-coded and read-only. I'll give the excuse of a first release.
Work Queue Manager – Create – Step 2 – Object Structure hard coded(!)

Unfortunately, it looks as if the Object Structure and Launch application are currently hard-coded and cannot be changed. I noticed in the Database Configuration application that there is a default value of MXAPIWODETAIL for the attribute WORKQUEUE.INTOBJECTNAME, so I tried removing this and after performing the database configuration, it made no difference. I’ve raised a new case with IBM Support for the hard coded attributes.

In the Work Queue Manager I've created a new work queue MYWO that will be able to use the hard-coded object structure which is based on the parent object WORKORDER.
Work Queue Manager – Create MYWO – Step 1

I’m having another go; this time the new work queue name is MYWO – Work Orders where I am the assigned Owner. I’ve given this a Priority of 1.

In the second step you will need to select a query for the work queue to use. These are the queries defined on the Object Structure or the ones defined in the Launch Application.
Work Queue Manager – Create MYWO – Step 2 – Select Query

When you move to the second step and Define query, the queries are either those defined on the Object Structure in the action Query Definition or those that are defined against the Launch application, in which case they are preceded with the application name, for example WOTRACK: I’m going to select the query WOTRACK:MYWO which is one I created earlier.

After you have selected the query you select the Available Fields to show in the Work Queue results.
Work Queue Manager – Create MYWO – Step 2 – Selected Fields

I’ve selected 6 attributes, wonum, description, status, wopriority, owner, and assignedownergroup. The attributes you can select from in the Available fields panel in the bottom-left of the screen are only those that exist from the parent Object Structure. This means that if you had an object structure on WORKORDER with a child object of ASSETS then you would not be able to show the description of the asset. I’ve raised an IBM Support case for this, it will probably end-up as an IBM Idea (request for enhancement).

In Step 3 you can optionally select one or more actions that can be performed from the work queue results. Then you use the blue Create button.
Work Queue Manager – Create MYWO – Step 3 – Add Actions

On the third step to creating a new work queue I did not associate an action; I just used the blue Create button.

In the Operational Dashboard the Work Queues card now shows multiple records including the new one MYWO.
Operational Dashboard – Work Queue Card showing multiple records

The Work Queues card now shows two work queues with the recently created one MYWO appearing at the top, presumably because it is a higher priority. The count shows 8 records.

When launching the MYWO work queue the query results are displayed with the columns of the Selected Fields.
Work Queue opened and record selected

Launching the work queue shows the eight work orders where the Owner is WILSON, I was logged in as WILSON when I created the query in the Work Order Tracking application. All the work order records have an Owner of WILSON. Notice that there are no actions, apart from the default one Clear Selections, which clears any filter you may have added.

That’s it really. A bit disappointing that the two fields were hard-coded, and that you can’t use a relationship as you can with a Start Center Result Set, for example you would not be able to show the description of the work order’s asset. There is also no ability to visualise the same data graphically as there is in the Result Set portlet on the Start Center. However, the Work Queue Manager reviewed was a first release and perhaps new features are planned for later this year (2024).

What is useful when comparing to the Start Center is that you see in one card which queries would retrieve records. In Start Centers you would need to review multiple Result Set portlets where the information has already been fetched from the database. Sometimes those queries on large databases are not immediate, and it can often lead to performance issues, a count of records should be faster.

There are other features of a Start Center result set portlet which are not available yet. There is no display of the data graphically, and there is no ability to launch the application with the result set, only launch one record at a time.

You can vote for these two enhancements by using the links below.

Operational Dashboard – Work Queue card to have a Chart View option similar to Result Set portlet on a Start Center.

There should be the ability to display the Work Queue card in both a List View (as it does today) and a Chart View which is available on the Result Set portlet in the Start Center.

https://ideas.ibm.com/ideas/MASM-I-1056

Operational Dashboard – Work Queue card should be able to launch the application with the result set from the query. 

There should be the ability to navigate to the launch application and perform the same query so that it fetches the same result set of records. This would give the same result as the button Open Result Set in the toolbar of a result set portlet on the Start Center.

https://ideas.ibm.com/ideas/MASM-I-1055

Leave a Reply

Your email address will not be published. Required fields are marked *