Adding scripts automatically in upload of a process to modeler

Hi,

in principle you can follow along with the solution that @philippfromme already posted: Fill automatically input - #5 by philippfromme .

…when I upload a proecss to modeler

I assume you mean “open” right? You would then need to intercept the shape.create command. Also note that for UserTasks you would need a bpmn:TaskListener. See example in this sandbox