Skip to main content

self hosted workflow 5 does't work in GMAF ?

Comments

6 comments

  • Stefan Schweigert

    Hello Zhijie,

     

    Yes, WF5 offline is supported by GMAF and has been tested. Make sure that all of the activities used in your workflow are supported offline based on the documentation and/or by changing the Deployment settings for the workflow.

     

    Can you check the GMAF console logs and the GVH logs for any other errors which might indicate where the error is occurring.

     

    Thanks, Stefan

    0
  • Permanently deleted user

    Thanks Stefan,

     

    my workflow only contains an alert

     

    it fails silently in GMAF windows (running on my laptop), with f12 console there's nothing (and no network traffic)

     

    how to see the logs on mobile GMAF (android)?

     

    The only error I can see is when 'sync offline data', it throws:

    Error downloading workflow 'http://<myserver>/wf5/workflow1.json'. Unable to load http://<myserver>/wf5/workflow1.json status: 0

     

    this url is accessible.

    what does this status 0 mean?

     

     

     

    0
  • Permanently deleted user

    when 'sync offline data' error happens, in the console it complains about

     

    no 'Access-control-allow-origin' , i have attached a screenshot.

     

    many thanks Stefan.

    0
  • Stefan Schweigert

    Hello Zhijie,

     

    I believe that the error you are seeing is because cross-origin resource sharing (CORS) is missing. Can you try following the steps outlined here and let me know if this resolves your issues?

     

    https://docs.geocortex.com/essentials/4.9/install-help/Default.htm#ge/install/cors.htm

     

    Thanks, Stefan

    0
  • Permanently deleted user

    Really appreciate your help Stefan, the error I saw could be caused by some network restriction on my laptop. I have got the IT people fixed the network. After they changed something on my account(or on the pc), now that error is gone (no error I can see in console or network or alert when sync offline Data).

     

    However the hosted workflow still don't work. it works in desktop browser, but in the same workstation with GMAF (windows), it fails silently when you click on the menu item.

    Is there a way to print more logs (for example with a js patch) ? I just found the geocortex server machine doesn't have internet access. But I think it should not matter?

     

    I have opened a case :00105366 

     

    In fact what we really need is GMAF on android (mobile device) but it does' t work that's why i am trying GMAF windows. My client has quite restricted network ( you can think like we don't have internet, everything is in local network) , that is one of the reason we need to host it locally.

     

    0
  • Stefan Schweigert

    No problem, thanks for letting me know. I'll try to assist in the case.

    0

Please sign in to leave a comment.