I have a lot of user tasks for various processes, but each user task form just requires a Boolean value and a text value as result. I do not want to go through the Camunda Tasklist, but embed the user interaction (selecting the user task and filling in the form with the Boolean value and text comment) into my own frontend. What is a simple way to achieve this?
Details:
I have looked at https://docs.camunda.org/manual/latest/user-guide/task-forms/#external-task-forms, but do not understand the last sentence: " When you have completed the task, the call back URL will be called." Is the Camunda Tasklist calling the call back URL? Then why is it provided in the URL the tasklist provides?
Can I call the call back URL externally? And attach the form results (the Boolean value and text comment) in a generic way? Can I retrieve the call back URL externally? Similar to https://github.com/camunda/camunda-bpm-examples/tree/master/sdk-js/browser-forms, but outside the Camunda app, in my own frontend? Does the Camunda Tasklist create the call back URL using some simple scheme so I could derive the call back URL myself if I have the processID?
My hope is that I only need to somehow get and then call the call back URL in my own frontend to return a form result (the Boolean value and text comment) and make the corresponding workflow process continue. Does that work? That would really be great.
I have found https://docs.camunda.org/manual/latest/reference/rest/task/post-complete/ to issue a complete task REST call with the variable values in the body. Is that the most sensible approach for my concern? Or does that only work with user tasks that have been claimed?