Skip to main content

Calling a workflow via a python script

Comments

1 comment

  • Permanently deleted user
    Just thought I'd post an update incase anyone wanted to know.

     

    I got around the authenication issue by using NTLM authentication. I also had to include ReadyToRun=1 in the request.

     

    The updated python code is:

     

    import requests

     

    from requests_ntlm import HttpNtlmAuth

     

    wf = "http://myserver/Geocortex/Essentials/Geocortex/REST/sites/Dev/workflows/testWF/run?ReadyToRun=1"

     

    r = requests.get(wf, auth=HttpNtlmAuth('domain\\user', 'pwd'))

     

     
    0

Please sign in to leave a comment.