IV32683: WORK ORDER TRACKING (MOBILE ENABLED) EVERYPLACE APPLICATION IS NOT SHOWING THE WORK FLOW MANUAL NODES

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

Closed as program error.

Error 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.
<<information from L3>>
Please open an APAR for PMR 07529,503,616.
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: *
* Users of Everyplace with Workflows defined against *
* Everyplace applications *
****************************************************************
* 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. *
****************************************************************
* RECOMMENDATION: *
* 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. *
****************************************************************

Problem conclusion

The APAR fix should be applied to eliminate the process
started dialog for Everyplace enabled applications.