APAR status
Closed as program error.
Error description
Problem Description) Work Order Tracking (mobile enabled) Everyplace application is not showing the work flow manual nodes as per the work flow design. The work flows are working fine as per the design on the 'non mobile/normal' Work Order Tracking. Tested on : BS7503/EveryPlace7500 Steps: 1. Create new application WOTRACK2 by duplicating WOTRACK and check the 'is mobile?' checkbox. 2. Create new workflow WOWF on workorder object 3. Add Manual Input3 node and another stop4 4. Connect Node(positive action) from start1 to input3, from input3 to stop2, from input3 to stop4 5. Double click input node, put action WO APPR for stop2 and action WO CANCEL for stop4 6. Save, enable then active the WF 7. From select action > add workflow to applications > make sure both wotrack and wotrack2 is checked for add support checkbox > save 8. Log out & log in again 9. Go to WOTRACK2 > create new workorder, save then route workflow 10. MSG : Record has been saved > click ok 11. MSG : Process WOWF started > click ok ** after step#11 nothing happened. if you do step#9 to 11 from wotrack application, you will see manual input dialog for next action selection. <<infromation requested by L3)) The specifics of the situation is that in some scenarios Workflow is attempting to display an alert message from the same event that presents a dialog. Everyplace enabled applications automatically convert the alert message into a dialog so the second dialog is ignored because a single event cannot display two dialogs. If the workflow process is set up such that the first node upon starting the process displays a dialog then the process started message will conflict with the node dialog and only the startup message dialog is displayed. A solution is to restrict the process started message so it will not display on Everyplace enabled applications. An alternative is to modify the workflow configuration so that the first node is not a dialog. A longer term solution should be to provide an alternate way of displaying alert messages so they are no longer displayed as dialogs for Everyplace and avoid the single dialog limitation but that is beyond the scope of a fixpack. The APAR fix should be as follows to eliminate the process started dialog for Everyplace enabled applications, new code in bold: (around line 3647 in WebClientSession.java) private Hashtable<String, String> getMessageInfo(MaxMessage message, Object[] params) { ... // if ismobile = true, use DISPLAYMETHOD_MSGBOX since there is no status bar String displayMethod = message.getDisplaymethod(); if (getCurrentApp().isMobile()) { // don't change displaymethod to messagebox if there's a dialog open: // if page stack size is 1, there is no dialog - it's safe to change displaymethod if (getCurrentApp().getPageStack().size() == 1) { // don't change displaymethod to messagebox if it's the Workflow Process Started message // Workflow might be trying to open a Manual Input Node dialog and we can't open two dialogs for one event if(message.getGroup().equals("workflow") && message.getKey().equals("ProcessStarted")) { displayMethod = DISPLAYMETHOD_MSGBOX; } } } ...
Local fix
na
Problem summary
**************************************************************** * USERS AFFECTED: * * Everyplace with Workflow * **************************************************************** * PROBLEM DESCRIPTION: * * Two dialogs for one action not supported * **************************************************************** * RECOMMENDATION: * * Fix provided * ****************************************************************
Problem conclusion
Fix provided
Temporary fix
Comments
APAR Information
APAR number
IV32545
Reported component name
MAXIMO EVERYPLA
Reported component ID
5724R46EP
Reported release
750
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2012-11-27
Closed date
2012-12-18
Last modified date
2012-12-18
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
MAXIMO
Fix information
Fixed component name
MAXIMO EVERYPLA
Fixed component ID
5724R46EP
Applicable component levels
R750 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"750","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
06 September 2022