06-12-2019 02:41 AM
Join this session to learn about Microsoft Dynamics 365 for Finance and Operations Business Events framework. We provide the roadmap for Business Events, Workflow Business Events, and Data Feeds. Learn how to use these solutions for integration, notifications, and initiating business processes using technologies like Service Bus, Event Grid, Microsoft Flow, and Logic Apps.
Other resources: https://medius.studios.ms/video/asset/PPT/MBAS19-BRK3016
/watch?v=1a0_3Ll4jwQ
/html/assets/mbas_dynamics_365.svg
BRK3016
I was wondering whether there is further documentation on how to approve using the Execute action. I am looking for inputs that are needed by this action to correctly approve the work item. Would it be possible to provide more details (screenshots) on how you constructed each element in your Flow?
Thank you.
-Suhas Rao
Following are some of my observations from attempting to complete the approval action through Flow:
These comments are applicable to PU25
1. Comments are mandatory when we use "Execute action". Within the application the comments are not mandatory. Therefore this is different from how the in-app workflow approvals behave
2. External workitem completion (System Administration > Workflow parameters) needs to be set to Yes
3. The JSON generated using the Workflow workitem business event does not have the WorkItemOwner Element
Finally, the Execute action fails, giving us the following error
Did you find the solution to your last error?
I'm facing the same
"An error has occurred. Exception occurred while executing action complete on Entity WorkflowWorkItem: Unable to create an instance of PurchWorkflowApproval. Please update PurchWorkflowApproval so that it implements IValidateWorkflowWorkItemAction. Please contact your System Administrator for further assistance."