PX script hangs during multi-level BOM change workflow in change management module

migueladmin
Thu, 22 May 2025 00:56:36 +0000

Add a maximum recursion depth limit to prevent runaway execution. Set a threshold at 10 levels and log a warning if exceeded. Also, implement a visited set to track already-processed items - you might have circular references in your BOM causing infinite loops. Check if your BOM structure has any components that reference parent assemblies.