APAR status
Closed as program error.
Error description
Simple workflow with a Person Group role where Group Default is not on current shift, the assignment can't be made. It should go to Group Default if no one is one shift, or one of the others in group if they are on shift, instead you get BMXAA4473E - The assignments created for task TASK 3 in workflow process CALBASEPG do not include an owner for the task. Issue caused by fix for IJ31129: WORKFLOW ASSIGNMENT PERSON GROUP PROBLEMS: ASSIGNMENT NEVER GOES GROUP DEFAULT AND ALTERNATES DO NOT WORK https://www.ibm.com/support/pages/apar/IJ31129 STEPS TO REPRODUCE: 1. Go to Roles and create a new role (PGCAL) -Type: PERSONGROUP -Object: WORKORDER -Value: :wogroup Broadcast is checked 2. In Workflow Designer, create a new 1 task process for WORKORDER (CALBASEPG) -Assignment table add Role:PGCAL and check Calendar Based? -Click ok to close and ad the action lines from start to task to stop. -Save, Enable, Activate 3. In Person Groups, add a new Persongroup (CALPG) -Add FORD(NIGHT SHIFT) and make Default Sequence 1 -Add WILSON (DAY SHIFT) Sequence 2 -Save 4. In Work Order Tracking, insert a new workorder 5. Start Workflow (CALBASEPG process) you will get BMXAA4473E - The assignments created for task TASK 3 in workflow process CALBASEPG do not include an owner for the task. If you change the CALPG and make the person who is on shift the group default it will work. Result: no assignment made BMXAA4473E - The assignments created for task TASK 3 in workflow process CALBASEPG do not include an owner for the task. Expected Result: Assignment made based on persongroup rules, whoever is on shift, or at very least group default Product Environment Tivoli's process automation engine 7.6.1.2-IFIX20221025-1736 Build 20200715-0100 DB Build V7612-284 HFDB Build HF7612-143
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * Maximo workflow users * **************************************************************** * PROBLEM DESCRIPTION: * * Assignment can't be made for role with Person Group whose * * members are all off shift. Person Group default should be * * used but is not due encountering Null Pointer Exception. * **************************************************************** Simple workflow with a Person Group role where Group Default is not on current shift, the assignment can't be made. It should go to Group Default if no one is one shift, or one of the others in group if they are on shift. Instead, a null pointer exception is encountered. STEPS TO REPRODUCE: 1. Go to Roles and create a new role (PGCAL) -Type: PERSONGROUP -Object: WORKORDER -Value: :persongroup Broadcast is checked 2. In Workflow Designer, create a new 1 task process for WORKORDER (CALBASEPG) -Assignment table add Role:PGCAL and check Calendar Based? -Click ok to close and ad the action lines from start to task to stop. -Save, Enable, Activate 3. In Person Groups, add a new Persongroup (CALPG) -Add FORD(NIGHT SHIFT) and make Default Sequence 1 -Add WILSON (DAY SHIFT) Sequence 2 -Save 4. In Work Order Tracking, insert a new workorder. Set the Work Group field to the Person Group you created in Step 3 (CALPG). The field labeled 'Work Group' is bound to the attribute WORKORDER.PERSONGROUP. Save the work order. 5. Start Workflow (CALBASEPG process). Result: No assignment are made. A null pointer exception is encountered: Caused by: java.lang.NullPointerException at psdi.app.person.Person.getEndDateFromCalendar(Person.java:858) ~[classes/:?] at psdi.workflow.WFAssignment.calcDueDate(WFAssignment.java:276) ~[classes/:?] at psdi.workflow.WFAssignment.activate(WFAssignment.java:568) ~[classes/:?] at psdi.workflow.WFAssignment.activeAssignment(WFAssignment.java:10 17) ~[classes/:?] at psdi.workflow.WFAssignment.generateForPerson(WFAssignment.java:9 88) ~[classes/:?] at psdi.workflow.WFAssignment.generateForRole(WFAssignment.java:937 ) ~[classes/:?] at psdi.workflow.WFAssignment.generateAssignments(WFAssignment.java :438) ~[classes/:?] at psdi.workflow.WFTask.initializeTask(WFTask.java:227) ~[classes/:?] at psdi.workflow.WFCallStackSet.applyWorkflowAction(WFCallStackSet. java:286) ~[classes/:?] at psdi.workflow.WFCallStackSet.initiateWorkflow(WFCallStackSet.jav a:139) ~[classes/:?] at psdi.workflow.WFInstance.initiateWorkflow(WFInstance.java:137) ~[classes/:?] at psdi.workflow.WFProcess.initiateWorkflow(WFProcess.java:739) ~[classes/:?] at psdi.workflow.virtual.InitiateWorkflowMboSet.execute(InitiateWor kflowMboSet.java:93) ~[classes/:?] at psdi.workflow.WorkflowDirector.doStateChangeFromStart(WorkflowDi rector.java:630) ~[classes/:?] at psdi.workflow.WorkflowDirector.doStateChange(WorkflowDirector.ja va:433) ~[classes/:?] at psdi.workflow.WorkflowDirector.doStateChangeFromStart(WorkflowDi rector.java:598) ~[classes/:?] at psdi.workflow.WorkflowDirector.doStateChange(WorkflowDirector.ja va:433) ~[classes/:?] at psdi.workflow.WorkflowDirector.input(WorkflowDirector.java:312) ~[classes/:?] If you change the CALPG and make the person who is on shift the group default it will work. Expected Result: Assignment made based on persongroup rules, whoever is on shift, or lastly the group default. Product Environment Tivoli's process automation engine 7.6.1.2-IFIX20221025-1736 Build 20200715-0100 DB Build V7612-284 HFDB Build HF7612-143
Problem conclusion
The fix for this APAR will be contained in a future release.
Temporary fix
Comments
APAR Information
APAR number
IJ45084
Reported component name
MAXIMO ASST MGM
Reported component ID
5724R46AM
Reported release
761
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2023-01-24
Closed date
2023-01-26
Last modified date
2023-01-26
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
MAXIMO ASST MGM
Fixed component ID
5724R46AM
Applicable component levels
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"Maximo Asset Management"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"761","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
27 January 2023