Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

Unable to Update Closed Cases

Posted on by Microsoft Employee

Hello,

I am trying to run Workflow as On-Demand to update fields on multiple Case records, which are all closed cases. When I try to run the Workflow, it throwing me error because the cases are closed. I am getting the following error on Process Session details:

Message:

""Since case is resolved and read-only, only these attributes are updatable : "ownerid", "owneridyominame", "owneridtype", "owninguser", "statecode", "statuscode", "modifiedon", "modifiedby", "modifiedonbehalfby", "owningbusinessunit" , "processid". If you need to edit other fields, please reactivate the case.""

I cannot activate individual Case records as we will run this Workflow on thousands of  records. Please help me.

  • Suggested answer
    Nishant Rana Profile Picture
    Nishant Rana 55 Microsoft Employee on at
    RE: Unable to Update Closed Cases

    With 2021 Release Wave 1, now it is possible without reopening the case record for CRM Online.

    nishantrana.me/.../

  • a33ik Profile Picture
    a33ik 84,321 Most Valuable Professional on at
    RE: Unable to Update Closed Cases

    I'm afraid "take it or leave it" is the only appropriate term here.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unable to Update Closed Cases

    Prakash and Andrew,

    The problem is I can activate and deactivate and keep a flag on Second workflow. There are many OOTB workflows and plugins which will fire when we do this. This will be a bigger mess if it is in the Prod.

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,321 Most Valuable Professional on at
    RE: Unable to Update Closed Cases

    Then include some kind of the flag that will be a sign that the second workflow shouldn't start and include that the check for that sign in the workflow that is triggered on "Deactivation" of the case.

    I'm afraid you have no other way. Good luck.

  • Suggested answer
    RE: Unable to Update Closed Cases

    Hi Harsha,

    Can you please try this, in your on demand workflow include first step for "change status" giving any open status reason.

    Step 2 include updating necessary fields and in step 3 again change status to closed/completed.

    Please mark it as resolved, if it solves your problem.

    Regards,

    Prakash

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unable to Update Closed Cases

    Deactivation will trigger a different workflow which will replace the input data from this workflow with a different data. I can't do this.

  • Verified answer
    a33ik Profile Picture
    a33ik 84,321 Most Valuable Professional on at
    RE: Unable to Update Closed Cases

    Hello,

    I'm afraid there is no other way. You can include the Activation/Deactivation piece in your workflow.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans