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 :
Customer experience | Sales, Customer Insights,...
Suggested answer

when record is closed still oob state code field is showing active

(0) ShareShare
ReportReport
Posted on by 67

When case is closed still oob state code field is showing active for ms crm 2011 on premises. There a javascript we have added for resolve action which is not working some times any views?

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at
    RE: when record is closed still oob state code field is showing active

    Hi partner,

    The state code field can’t change because javascript that you add to resove action.

    You can create a workflow to change status of cases that statecode field has not changed.

    pastedimage1598861943897v1.png

    pastedimage1598861951348v2.png

    After running the workflow, you can check the statecode change or not?

    If not, you can try to use webApi to change status manually.

    http://butenko.pro/2017/03/20/close-incident-using-webapi/

    Regards,

    Leah Ju

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

  • Mohsin Ali Profile Picture
    3,634 on at
    RE: when record is closed still oob state code field is showing active

    You might be using custom field for case state. So in that case, you also need to update statecode field as well.

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 > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 179

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 129 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans