Process automation in Microsoft Dynamics 365 Finance and Operations (D365FO) is a powerful feature that allows you to schedule processes to be executed by the batch server automatically. It simplifies the creation of batch jobs, thanks to the built-in wizards within the Process Automation setup. The updated calendar view of the scheduled work allows end users to view and take action on scheduled and completed work.
The central administration page for all process automations is found in the System Administration module under the Setup menu. This page will list all automated processes (series) that are set up in the system. It will also allow you to add new process automations directly from this page. After a series is set up, you can manage each series from this list. You can choose to edit the entire series, delete it, view all occurrences in a list view, or disable the series if you would like to pause the scheduled work for a while.
For more information about process automation, see Process automation and Process automation framework development.
In this blog, we will create a dummy process to demonstrate the necessary steps for implementing scheduled tasks using Process Automation.
Before we implement any of the required components, ensure that your model references the ProcessAutomation Model.
- If you disable the feature flag for a type, the type doesn't appear in the user interface (UI). The scheduler won't schedule any occurrences or background processes of that type to run, and the runtime side of the process automation framework won't create any batch jobs for that type.
- If you enable the feature flag for a type, any occurrences or background processes that are scheduled to run in the past will be run immediately. Usually, this behavior is what you want. However, if it isn't what you want, consider disabling any series that is related to the type before you disable the feature flag.
- Vendor Payment Proposal (VendPaymProposalAutomationTypeRegistrationProvider class)
- Vendor Invoice Posting (VendInvoicePostProcessScheduleTypeRegistration class)
- Subledger transfer to general ledger (SubledgerJournalVoucherTransferServiceRegistration class)
Comments
Post a Comment