Zum Hauptinhalt gehen

Very basic workflow question about variables

Kommentare

5 Kommentare

  • Nico Burgerhart
    You can add an Alert activity to the workflow and put the name of the variable in the Text property.

     

    If the data type of the variable is not String, add .ToString to the name of the variable.
    0
  • Permanently deleted user
    Thanks!  We will do that.   When I passed that info along, that wasn't what they were looking for, but we can do it this way.

     

     
    0
  • Permanently deleted user
    How about writing to a log file?  Any idea how to do this?
    0
  • Permanently deleted user
    Hi Michael,

     

    You can use the log activity (to write to the system.log file in the following directory: C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\REST\App_Data\Logs), or you can use the Log External activity to write to the viewer log.  Note the viewer log will only log from the client side, and the information is lost when the user refreshes, so if you are looking for long term logs, using the Log activity is better.  

     

    Make sure you set the log level in the activity to the corresponding log level you've set in manager (under "Application Settings").  The log activity will do you no good if you have it set to log at the info level, but Essentials is only set to log Warnings and higher.  

     

    When I'm debugging something, I usually use the External log activity, if it's a quick one off check (for example checking to see the contents of a variable).  It's like using an alert box as Nico described, but you can leave it in the workflow without impacting the users.

     

    I hope that helps!

     

    Thanks,

     

    Danny
    0
  • Permanently deleted user
    Thanks Danny!
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.