Posts

Showing posts from September, 2023

MS Dynamics 365 FO Business Events (Po confirm without workflow ) notification

Image
  Business events provide a way to alert external systems when a business process is performed in D365 FO (Finance & Operations). There are two types of business action: Workflow action Non-workflow action Business events can be viewed in  System administration > Setup > Business events > Business events catalog Business events with Category name starting with “Workflow” belong to the workflow category. For non-workflow, the Category name is normally the same as the name of their module. Endpoints let you define the destination for sending the business events. There are five types of endpoint: Azure Service Bus Queue Azure Service Bus Topic Azure Event Grid Azure Event Hub HTTPS Microsoft Power Automate In the example below, we are going to use the Microsoft Power Automate endpoint. Example: For this example, we are going to use the non-workflow action business event “Purchase order confirmed”. Login to  https://us.flow.microsoft.com/ . Go to  MyFlow ...

Delegation to another user of your workflow items in D365FO / AX

I need to reassign a work item from one user to another because the original user who was assigned the task has left the company. The client also requires that we track the workflow history as we reassign the work item. Final class NGDelegateWorkFlowJob {     /// <summary>     /// Class entry point. The system will call this method when a designated menu      /// is selected or when execution starts and this class is set as the startup class.     /// </summary>     /// <param name = "_args">The specified arguments.</param>     public static void main(Args _args)     {         PurchTable            purchTable;         HcmJob                hcmJob;         WorkflowWorkItemTable workflowWorkItemTable;         WorkflowWorkItemActionType actionTyp...