How do I submit a form with out user/task?

Hello,

I have an url which provides me an xml data.

I need to save these xml data dynamically. This has to be saved without user interface (ie clicking on complete button) or any additional task defined to process. I need to fetch the data (xml) in the next task of the process, so how can I proceed.

Thanks & Regards
Harshal Temkar

Hi @Harshal_Temkar,

You can set process variables via the REST API, see [1] and [2], or via Java API, see RuntimeService#setVariable. Similarly, you can access the variable using the REST API or Java API in any following BPMN task. For XML data, you could use the native XML variable type provided by Camunda Spin.

Cheers,
Thorben