Hi all
Trying to implement the Item Approval Workflow. The out of the box version is easy enough to set up, however it does not enforce approval ie if the user creates an Item, the approval is optional.
I have changed the item templates so new items are set to blocked, but users can just unblock them themselves.
Does anyone have any suggestions on how we can set it up so that any new records or changes to existing ones must be approved before the item can be used?
Thanks!
Thank you so much for this direction. I have attempted to replicate, but unfortunately I am not successful. I am on Cloud Dynamics Business Central Wave 2.
When attempting to put ALL in the blocked field it forces me to choose a Boolean, won't let me choose otherwise. I chose Yes/True.
I am able to put the Expression Null() in, but it effectively updates it to False -> shows successful.
It never triggers the Approval.
What I see ->
Blocks it, then immediately unblocks - so no change. I was hoping that it would still trigger, but seems it will not. I will try to take your lead and research a bit more using this methodology, but wanted to say as written it is no longer functioning.
Further Note.
Cloud flows only allows "When a Record is created (V3) or (V2)" your Screenshot indicates it is likely the V1 as it has no version after it.
Hi,
If you are able to use Power Automate, you can use Power Automate's Cloud Flow to detect that an item master record has been created in BC and edit the Blocked field.
I have experience doing the same thing with a customer master, and the procedure for doing so is described below.
How to Setup Workflow of D365BC #9 | IT長のネタ帳 (d3654.be)
See section "5. Power Automate trigger BC workflow for the new customer." and replace customer to item.
I hope this helps you.
S.Kawamura
Hi Benken
If you used the standard Item Approval workflow and changed the "When Event" to "An Item record is changed", it would trigger when a new item template is selected.
This bit of functionality is something I have always found a bit basic with no ideal neat solution to control the right user behaviours.
I have recently created a power app to create items using Microsoft forms and an approval workflow outside of BC that then creates the item in BC upon completion of approval.
it is far superior to anything in BC and it is easy to build structured naming and coding conventions. I’d suggest looking down this avenue.
Is disabling personalisation an option? That way you could hide the blocked field. If a user has a genuine reason to block you could create a process with power automate for that. Or a power app in Teams. If the Blocked field is missing it will force a user to use the approval as errors appear if that item is chosen
Info on disabling personalisation: https://yzhums.com/20791/
Hi
As Kim mentioned you need some workaround for this.
if you are on SaaS you can use the following free app to remove the user access to Block field and hence only users with permission can unblock the item
The functionality that you explain is the desired action as designed.
The work around is also want you explain, block the record.
You might consider limiting edit ability to the items.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,524 Super User 2024 Season 2
Martin Dráb 228,469 Most Valuable Professional
nmaenpaa 101,148