web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Workflow

(0) ShareShare
ReportReport
Posted on by 5,514

Is it possible to refresh a page using workflow when refreshed case should automaticaly resolved

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Marius Agur Pedersen Profile Picture
    1,771 on at

    The form will be refreshed if the workflow is synchronous and triggered by the user.

    The other choice would be to use javascript.

  • sandeepc Profile Picture
    5,514 on at

    javascript is not affecting the page i tried

  • Suggested answer
    Rutul Chauhan Profile Picture
    2 on at

    User refresh method in javascript to refresh page

    www.crmanswers.net/.../the-xrmpagedatarefresh-method.html

    Regards,

    Rutul

  • shivaram Profile Picture
    3,315 on at

    Synchronous workflow can be trigger without refresh. For resolve case you are going for Custom code?

  • sandeepc Profile Picture
    5,514 on at

    i have written workflow to resolve a case and now i added javascript to reload .. when reloaded status should be resolved .. both are different scenarios.. how to acheive this.

  • shivaram Profile Picture
    3,315 on at

    Hi Sandeep,

    As per my understanding, you need to resolve the case when Form is getting reloaded. If it is correct, then on which scenario form should get reload? I mean if you save the form, it should resolve?

    Please describe little more.

  • sandeepc Profile Picture
    5,514 on at

    it should be in Case ..

  • shivaram Profile Picture
    3,315 on at

    I got it. But in which scenario form should get reload?

    It should be on Create of Case or On Update?

  • sandeepc Profile Picture
    5,514 on at

    when status is closed then i save once its saved.. page should reload and status should be resolved.on both create and update on case

  • shivaram Profile Picture
    3,315 on at

    Okay. But my doubt is why you will reload the page? Is this your requirement?

    Here you mentioned

    >>when status is closed then i save

    That means you can write a Workflow and you can choose a trigger option as Status Change.

    If Refresh the page is your requirement then you can write AsyncWorkflow and in choose Trigger option as OnCreate and OnUpdate. (Because there is no option for workflow to trigger OnLoad).

    And in Javascript you can Write following code

    function Form_OnSave(){

    Xrm.Page.data.refresh();

    }

    And call this function OnSave.

    Now after saving your form, Js will trigger and Form will be refresh. Mean while AsyncWorkflow will trigger

    Note: I can't say Async Workflow will trigger imminently after reloaded the page. It might be trigger little late also.

    Choose which one you want to implement.

    Hope it helps you

    Thanks. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Varsha deshpande Profile Picture

Varsha deshpande 5

#2
JS-09031509-0 Profile Picture

JS-09031509-0 3

#3
Ciprian  P Profile Picture

Ciprian P 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans