Start a K2 workflow from python script

  • 24 June 2020
  • 1 reply
  • 93 views

Hello,

 

in the official K2 5.3 documentation I found an examples how to start a K2 workflow with a C# codes. https://help.k2.com/onlinehelp/k2five/devref/5.3/default.htm#Runtime/WF-REST-API/WF-REST-API-Authentication.htm%3FTocPath%3DRuntime%2520APIs%2520and%2520Services%7CWorkflow%7CWorkflow%2520REST%2520API%7CWorkflow%2520REST%2520API%2520Samples%7C_____1

 

Does anyone know about some examples, documentation or tutorials how to authenticate and properly start K2 workflow from python script or DJango web application?

 

Thanks for answers


1 reply

Userlevel 6
Badge +16

Hi,


 


I might have an old documentation on this. It uses the REST workflow API, see attached rest.7z. You will likely need 7zip to extract it. The main py file contains everything, the authenticated part is particularly to K2's REST so it will not likely work with other swagger files. 

Reply