Skip to main content

Access the attributes of a results list row in a workflow with {{context}}

Comments

2 comments

  • Permanently deleted user
    Hi Zack,

     

    Unfortunately, the documentation for the {{context}} parameter is quite limited:

     

    https://docs.geocortex.com/workflow/latest/help/Default.htm#wf5/help/run-workflows-in-gvh.htm

     

    It is much easier to use them in Workflow 5 than in Workflow 4.  I beleive this is because the viewer tries to determine if the {{context}} argument is an appropriate parameter to pass to the command, and the commands that run an Essentials Workflow do not know how to represent it.

     

    Please use the feedback icon in the upper-right of the documentation to suggest places where it can be improved - that feedback will go straight to the technical writers.

     

    Regards,

     

    -Malcolm
    0
  • Zack Robison
    I didn't even notice that feedback button was there, thanks Malcolm! 

     

    You're absolutely right about workflow 5 being the way to go, though the reason in this case ended up being slightly different.  I ended up using WF5 to get that context which, aparently, avoids json serialization errors which were getting in the way between the viewer and the workflow (thank you Amanda and Ian for figuring that out for me).  I could then take the properties that I needed and pass them to the Essentials Workflow that I'd written. 
    0

Please sign in to leave a comment.