Hi All,
is it possible to reset Remaining number of Terms via plugin? If we do it via Workflow, there will be a error message "YOu can only edit a draft document".
Best regards,
Miha
Hi Miha,
From screenshot you provided above, it will appear error message "You can only edit a draft document" when you use workflow.
So you can change entitlement status to draft before resetting Remaining number of Terms, then change entitlement status to active again in workflow.
Just like following screenshot:
Now, you can use workflow to reset Remaining number of Terms successfully.
Test:
In System Jobs, you will see the workflow run successfully.
In entitlement form, the remaining terms has changed to 2 successfully.
Regards,
Leah Ju
Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.
Is it possible to change remaining terms without first changing it's state to "draft"? It seems to me that this can result in a race condition. If an entitlement is updated and during that time a new incident is created, the user can not choose that entitlement.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
MVP-Daniyal Khaleel 60
Tom_Gioielli 16 Super User 2025 Season 2
CU29080825-0 16