Skip to main content

How can you debug Workflow 5 Objects to inspect them?

Comments

4 comments

  • Stefan Schweigert

    Hello Marco,

     

    There's a few different ways to inspect your workflow. If you run the workflow in the Sandbox, you can view the inputs and outputs of your workflow in the Chrome Console by setting the logging level to display all levels of errors (Verbose, Info, Warnings, Errors). You can view these same inputs/outputs in GVH by adding the &debug=true to the end of your URL and viewing the console during the execution of the workflow. Another option is to use the Log activity with an entire object or a property within the object, which will then be written out to the browser console (e.g. for Display Form, the input for Log could be =$form1.state.checkBox1.value or =$form1).

     

    Thanks, Stefan

    0
  • Permanently deleted user

    Hi Stefan,

    thank you for the prompt reply. I got what I needed by adding a log and specifying =$form1.state.geometryPicker1.value to display it in the console.

     

    What I did not understand in your reply is how to go about the other options?,

    How do I go about "setting the logging level to display all levels of errors", is that a parameter in my work flow or is it a Chrome setting?

    What is GVH?

     

    Regards

    Marco

    0
  • Stefan Schweigert

    Hi Marco,

     

    No problem.

     

    In the Google Chrome Developer Tools, just below the main toolbar, is a bar which has a Filter and a dropdown where you can configure the log levels.

     

    GVH is an acronym for the Geocortex Viewer for HTML5, which is one of the client applications where you can execute workflows within, the other being the Web AppBuilder.

     

    Thanks, Stefan

    0
  • Permanently deleted user

    Good news, everyone! I discovered dev mode for GVH today, and need to spread the word.

     

    Do you want to watch your workflow work without all those pesky 'ViewDeactived', 'LayerUpdate', 'TraceEvent' etc messages clogging your log? LatGeo is right there with you, and one step ahead of you (or at least, of me).

     

    Instead of using "&debug=true", use "&dev=true". You, and your browser, will be happier for it.

    0

Please sign in to leave a comment.