Your MBOM workflow issue stems from incomplete configuration across three critical areas. Here’s the comprehensive solution:
1. Workflow Status Mapping Configuration:
Agile PLM doesn’t automatically propagate status changes from MBOM revisions to affected parts. You must configure explicit status mapping:
In Workflow Designer:
- Navigate to your MBOM revision approval workflow
- After the final approval node, add a Status Change action node
- Configure it to target “Affected Items” not just “Current Object”
- Map the status transition: Source Status = Prototype, Target Status = Production
- Set execution timing to “After Approval Complete”
In Admin Console:
- Go to Workflows > Status Mappings
- Create mapping: Revision Status = Approved → Part Status = Production
- Set scope to MBOM workflows specifically
- Enable “Cascade to BOM Components” option
The key mistake is assuming revision approval automatically updates part status. It requires explicit configuration at both the workflow level (action nodes) and the admin level (status mapping rules).
2. Revision Approval Process Deep Dive:
Your revision approval completes successfully, but the issue is what happens AFTER approval:
Verify Workflow Sequence:
- Approval Node → Status Mapping Node → Notification Node
- The status mapping must be a separate node, not a property of the approval node
- Check that no conditional branches are bypassing the status mapping node
Check Workflow User Privileges:
The workflow executes as the system workflow user. Verify this user has:
- Change Status privilege for Part class
- Modify privilege for all affected part subclasses
- Execute Workflow privilege
Test by temporarily granting admin rights to the workflow user - if status updates start working, you’ve confirmed a privilege issue.
Validate Part Accessibility:
- Parts must not be checked out during workflow execution
- No active changes (ECOs) should be in progress on the parts
- Parts must be in a lifecycle state that allows status transitions
Query to check for locked parts:
SELECT item_number, checked_out_by, lifecycle_state
FROM item WHERE item_number IN (affected_parts)
AND checked_out_by IS NOT NULL;
3. Audit Logging Enhancement:
The absence of part status change events in audit logs indicates the action never executed. Enable comprehensive logging:
Application Server Configuration:
Add to agile.properties:
log4j.logger.com.agile.pc.workflow=DEBUG
log4j.logger.com.agile.pc.cmserver.workflow.StatusChange=TRACE
Workflow-Specific Logging:
- Enable workflow execution trace in Admin Console
- Set retention to 30 days for troubleshooting
- Monitor agile-workflow.log for status change attempts
Custom Audit Trail:
Implement a PX extension to log status change attempts:
public void onRevisionApproved(IRevision rev) {
logger.info("Revision approved: " + rev.getName());
for (IPart part : rev.getAffectedParts()) {
logger.info("Attempting status change for: " + part.getNumber());
try {
part.setLifecyclePhase("Production");
logger.info("Status changed successfully");
} catch (Exception e) {
logger.error("Status change failed: " + e.getMessage());
}
}
}
This provides detailed visibility into what’s happening (or not happening) during status updates.
Root Cause Analysis:
Based on your symptoms (workflow completes, no errors, no status update, no audit entry), the most likely cause is:
- Missing workflow node - The status change action simply isn’t in your workflow definition
- Failed condition - A hidden prerequisite is preventing the status change node from executing
- Timing issue - The status change is attempting before the revision approval fully commits
Immediate Fix:
- Open your MBOM workflow in Workflow Designer
- Add explicit Status Change action after approval node
- Configure it to update affected parts, not just the revision
- Test with a single part MBOM first
- Monitor logs during test execution
Long-term Solution:
- Standardize workflow templates with status mapping included
- Document workflow user privilege requirements
- Implement automated testing for workflow status propagation
- Create monitoring dashboard showing parts with status mismatches
The manufacturing confusion you’re experiencing will resolve once the workflow includes explicit status change actions and proper audit logging confirms execution. Your workflow status mapping isn’t failing - it simply isn’t configured to execute.