Automation in BC with workflow
Aptean Advanced Workflow is an application within Business Central that helps streamline business processes such as purchase invoice control and master data setup. With this workflow, you can set up an Exit Point Codeunit on a To-do Template by Status Change. When the status of a To-do changes from any status except Open to Closed, the Exit Point Codeunit is triggered. This codeunit can perform various tasks such as releasing, posting, and creating. Standard Exit Point Codeunits are provided, however, you can also add your own custom-made Exit Point Codeunits and Codeunit Parameters for more specific tasks.
To load Parameters:
- In the Exit Point Codeunit Parameters page, on the Action bar, select Actions > Functions > Load Parameters, before using Exit Point Codeunits.

The Exit Point Codeunit itself is considered an individual customization and is not supported, trained, or included as part of the official releases of Aptean Advanced Workflow.