I don't know if it is possible, but I think it is or maybe there's a much better alternative.
When the process starts, the user can select a file to be attached. Question is, how can I upload the file to Azure upon submission of the process instance?
declare a document in the Bonita process definition
define a process instantiation contract that expect a file and will save it in the document declared in process definition
create an instantiation form that allow the user to upload the file
create a new definition and implementation of Bonita connector that would receive a document as input and will perform the appropriate call to Azure API to upload the file
configure the newly created connector to be execute on start of the process and use the document as input
That is an overview of the solution I imagine. Also it might be possible to reuse Bonita standard REST connector to perform Azure API call but I'm not sure if this connector can deal with document.
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.