IBM Support

In Work Supervision Work Center, the Approve Work Card should show Work Orders that are Waiting for Approval

Troubleshooting


Problem

When using the Work Supervision Work Center, the Approve Work card should show work orders that are WAPPR (Waiting for Approval).
This works with Maximo out of the box, however if you add a synonym of WAPPR it only shows work orders that have the status of the last synonym to be returned from the database. This is because the javascript maximo-supervisor-approve.js file loops through the synonyms of WAPPR but only returns one value, then sets the QBE status EQUALS whichever value was returned.

Resolving The Problem

The  out of the box query filter can be modified in the work center configuration application for each panel.
1. Login as a configuration user.
2. Go to the Supervisor Application.
3. Enter design mode by clicking on the pencil icon in the header.
4. Click on the Approve Work Panel header.
5. Once the Design work panel appears, update the Where Clause to the following (basically we removed the status filter from here):
{"qbewhere":{"siteid":{"operator":"=","value":"-dfltsite-"},"supervisor":{"operator":"=","value":"-personid-"},"woclass":{"operator":"=","value":"WORKORDER"}}}
6. Also, add this new filter in the Additional parameters:
domaininternalwhere=status=WAPPR
7. Click  the Save button.
8. Click the Manage (gear) icon in the header.
9. In the Manage Work Center configuration dialog click "Publish as active workcenter".
10. In your Work Center, you can add an optional configuration remark.
11. Click the Publish button.
12. Log out and log in as your regular user and check the cards in the Approve Work panel.

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"Work Center","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Tivoli's process automation engine 7.6.1.0","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
09 April 2019

UID

ibm10880353