thanks for bringing python option to Camunda External Tasks
I have been trying to use your library. Used your sample code just as it is, and included my business logic in it, but always receive an error saying youNevertheless I installed it with pip as the instructions say, and checked the directories are there. Also sure my python is 3.7 (3.7.9 actually).
It would be very useful if variable type could be specified like
return task.complete({
“var1”: 1, ‘Integer’,
“var2”: [“A”,“B”,“C”], ‘JSON’
}).
Seems now only the value can be provided.
I am aware that above structure is not valid but I hope you get the idea.
I have the need to create a JSON type variables in the process.
@pitu72
Instead of having the ability to provide the type of the variable, I am thinking is that we should auto-detect the type based on the value. That way there is no chance of a mis-match between actual value provided and its type provided.
Thx for coming back on that.
Camunda itself does some auto-detection however I was not able to make it a JSON type.
Maybe the type could be optional parameter. If not provided the auto-detection (from Camunda or within python would take over).
Thank you so much for writing the External Task Client for Python 3 in Camunda. If possible can I please request for your help? It has something to do with the Basic Auth. Here’s the thread I’ve created.