Answered Visio workflow visualization is not refreshed (Visual Studio workflow)

  • יום שני 11 יוני 2012 16:36
     
     

    Hi there,

    I’ve got some problems with my workflow visualization in SharePoint 2010.

    I designed the workflow in VS2010, created a Visio diagram and added it as a module to the SharePoint features.

    I’ve added the ‘ShowPreview’ and ‘PreviewHref’ properties to the elements file of the workflow, assigned the relevant shape guid stuff to the description property of the corresponding workflow activities and tested the workflow.

     

    It worked like a charm, however after adding some more shapes and deploying the solution again, it’ still using the old Visio diagram.

    If I save the Visio file to another filename and define the new file in the elements.xml, it uses the new diagram.

    Switching to the old file name again, will load the previous diagram, so I guess it’s some kind of caching issue.

     

    I’ve already tried clearing the %APPDATA%\Microsoft\Web Server Extensions\Cache as well as the %USERPROFILE%\AppData\Local\Microsoft\WebsiteCache\ caches, without success.

     

    Does anybody know what is going wrong here?

     

    Regards,

     

    Daniel


כל התגובות

  • יום שלישי 12 יוני 2012 09:07
    מנחה דיון
     
     

    Hi,

    Thank you for your post.

    I'm trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.

    Thanks & Regards,
    Emir


    Emir Liu

    TechNet Community Support

  • יום רביעי 13 יוני 2012 07:00
     
     
    Thank you!
  • יום רביעי 20 יוני 2012 14:32
     
     

    Hi Emir,

    Any news on this yet?

    Regards
    Daniel

  • יום שישי 22 יוני 2012 23:30
     
     
    I think this can be configured and controlled by Visio Graphic Service, see article http://technet.microsoft.com/en-us/library/ee524061.aspx
  • יום שלישי 26 יוני 2012 09:40
     
     

    Hi Manish,

    Thanks for the reply.

    I lowered both Cache Ages to one minute, it did however not solve the problem.
    Any other hints?

    Regards
    Daniel

  • יום שלישי 26 יוני 2012 23:49
     
     תשובה
    Maybe you can try to stop and start Visio Graphic Service! I think you should be good with workaround save the Visio file to another filename and define the new file in the elements.xml.