Announcements
No record found.
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?
You might be using custom field for case state. So in that case, you also need to update statecode field as well.
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.
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.
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 107 Super User 2026 Season 1
11manish 92
Muhammad Shahzad Sh... 69 Most Valuable Professional