Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Prevent deleting a case if there is a value in Actual Service Units

Posted on by Microsoft Employee

Is there a way in the CRM interface to prevent a user from deleting a case if the value of the Actual Service Units is greater than 0?

*This post is locked for comments

  • Verified answer
    ashlega Profile Picture
    ashlega 34,475 on at
    RE: Prevent deleting a case if there is a value in Actual Service Units

    You can also user real-time workflow for validations:

    - Create a real-time workflow

    - Configure it to run "before" delete

    - Do the validations

    - If "delete" should not be allowed, add a "stop workflow" step with "Cancelled" status - you can configure error message in the properties of that step

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Prevent deleting a case if there is a value in Actual Service Units

    Thank you Andrii.  I am new to CRM so please be patient with me.  I am using version 2013.  I cannot see anything called Workflow.

    I have found where I can create a 'Routing Rule Set' is that Workflow?  In the Routing Rule set can add the new Rule Item and can set the Rule criteria, but the Then Condition only allow me to Route to A Queue or a User/Team.  Am I in the wrong place?

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Prevent deleting a case if there is a value in Actual Service Units

    Hello,

    The easiest way is to design a real time workflow that will handle delete operation, check if it is allowed to delete record and throw an error if it is not allowed to delete that case.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans