web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Is it possible to reset Remaining number of Terms on Entitlement via plugin?

(0) ShareShare
ReportReport
Posted on by 290

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

8738.Entitlement.png

Terms.png

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at
    RE: Is it possible to reset Remaining number of Terms on Entitlement via plugin?

    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:

    pastedimage1612926529694v1.png

    Now, you can use workflow to reset Remaining number of Terms successfully.

    Test:

    In System Jobs, you will see the workflow run successfully.

    pastedimage1612926839372v4.png

    In entitlement form, the remaining terms has changed to 2 successfully.

    pastedimage1612926697538v3.png

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • nkrauter Profile Picture
    59 on at
    RE: Is it possible to reset Remaining number of Terms on Entitlement via plugin?

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 60

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 16 Super User 2025 Season 2

#2
CU29080825-0 Profile Picture

CU29080825-0 16

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans