I have been working on an integration of Camunda and Robot Framework, the so called CamundaLibrary. If you do not know Robot Framework: it is an open source, python based abstraction layer for task automation where automationeers rather describe a task than programming it.
Last night, I published an example based on expansion plans from the roman emperor told by @Niall during his excellent tutorial for distributed systems.
I’d be curious to learn, what people think about it and if more people use RF and Camunda for automation.
This is so great!
Thanks for posting - I love any project that combines Open Source with Ancient roman history!
Sure it’ll be really great for the many Camunda users who want more robots and python in their projects!
How can I run “ChooseDestination”,“InvadeGaul” & “InvadePersia” task in the back ground ?
Is there a way to run robot tasks in background & keep listening any external task the like as external task worker ?
I am new to this integration . Pls suggest the way forward .
In this example, the tasks don’t wait for process instances. If their topic does not provide a process instance they quit immediately. If you want the robot task to wait for work, you can add asyn_response_timeout to the fetch workload statement:
I started a collection with projects that combine Camunda Plattform and Robotframework. I hope it will provide a good entry point to get started ,and additionally a good overview of existing projects.
I would love to see contribution and Pull Request!
Cheers
Nele
Let me explain …
with run of below command it’s upload the model. robot -d logs upload_invasion_model.robot
Now I started the 4 instance of the process manually(I took out the start process from the run_simple_invasion.robot file and ) and current blue tick is waiting at "Decide How best to expand rome". Now to process these 4 instance I need to run “run_simple_invasion.robot” 4 times manually . robot -d logs -t "Decide how to best to expand rome" run_simple_invasion.robot
What I want - if some arrengement can be done so that “run_simple_invasion.robot” can run like as listener(in background …like a external task client works) and everytime a new instance of process arrives at “Decide How best to expand rome” ,it would execute automatically rather any manaul command hit in cli.
A camunda listener/worker Webservice that constantly checks with keyword Get amount of workloads if workload is available. And only if a workload is available, the robotframework Webservice is executed (probably still containing the long polling for loop)