The BPD Blog

From blogs to case studies to news, we love sharing our tips and tricks for asset management, cloud, IoT and smarter operations.

by | Nov 28, 2017

Limit the Number of Queries Visible in an Application in Maximo

At the MaxTECH User Group last week, one of the attendees came up with the idea that it would be great if you could identify a persongroup or persongroups to see a specific public query in an application.

So, they created a table called QUERYPERSONGROUP and modified their Query Manager application to allow the user to add persongroups to a query.

We then set up a conditional expression that will only display a query under the following conditions: If the user is the owner it will be displayed, if it is a PUBLIC Query and there are no persongroups linked to the query it will be displayed, and finally if it is a PUBLIC Query and there is a persongroup and the user is in the persongroup it will be displayed.

This conditional expression is used in the Security Groups application for the MAXEVERYONE security group as a Data Restriction on the QUERY Object. It applies to all applications in Maximo.

The screenshot below shows the list of queries for the Work Order Tracking Application (T&D) and highlights that only 1 public query is being displayed. There are 2 public queries, but the second one is only supposed to be displayed if you are a member of a specific persongroup.

This is a GREAT way to manage the huge list of queries that can populate an application in Maximo.

If you would like to see the complete implementation instructions for this enhancement to Maximo please contact me directly.  Full credit goes to Jason Kingdon for the idea and we collaborated on the solution.

Stephen Hume

Stephen Hume

Stephen Hume is a seasoned Maximo Consultant working for BPD Zenith (Canada). He is a keen presenter at the following user group meetings: Facility Management Maximo User Group, Maximo Utility Working Group, Western Canada Maximo User Group, Canadian Maximo User Group, IBM Pulse, IBM Interconnect. His presentation topics have included; Upgrade Lessons Learned; Health Safety and Environment in Maximo; Mobile Incident Reporting using Maximo Anywhere; How to Prepare for and Survive an IBM Audit; Throw Away the Log Books with Maximo Operator Logs.


Maximo Custom Add-on Products

Maximo Custom Add-on Products

There are instances when organizations want to add client-specific validations, functionalities or new applications to Maximo Asset Management that don’t exist out-of-the-box. Luckily, Maximo caters to this with its add-on methodology and packages can be installed...

Maximo buzz kills – working your way around them

Maximo buzz kills – working your way around them

In the world of Maximo, there are often little things that you wish you wouldn’t have to encounter. Slow start centers, slow search results and that dreaded spinning wheel on the screen are just some of the buzz kills that users report. If you can rule out issues of...

The ease and power of automation scripts in Maximo

The ease and power of automation scripts in Maximo

Many of us in the Maximo space are appreciative of the power of automation scripts, however, might not be entirely familiar with various scripting languages like Javascript, Python and their API. How is Python different to Java and Script? Python created by Guido Van...

Sign up to our free newsletter to explore emerging technologies, industry events and Maximo best practice.

Listen to your assets!

Most companies are aware of waste in their preventative maintenance efforts, but aren’t quite sure how to eliminate it.