Hello Community,
I am implementing two custom approval workflows in Dynamics 365 Business Central using AL:
- Approval workflow for Requisition Line
- Approval workflow for Transfer Order
Both workflows are created using custom code by subscribing to workflow events and registering them in the workflow library.
The issue I am facing is:
As shown in the screenshot below, the Transfer Order Approval Workflow is incorrectly displaying Requisition Line events.

The workflow description and code clearly indicate Transfer Order Approval
However, under Workflow Steps → When Event, the event shown is: “Approval of a Requisition Line document is Requested.”
The workflow conditions and responses are also tied to Requisition Line, instead of Transfer Order.
I would like to understand:
- How to properly register multiple custom workflow events without conflicts?
- How can I ensure each workflow triggers only its own specific event?
- Are there any best practices for handling multiple custom approval workflows in the same extension?
Any guidance or examples would be greatly appreciated.
Thank you in advance.