Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

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

Posted on by 65

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?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee 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
    Mohsin Ali 3,610 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

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans