Flowable task app and sub-processes

Hello.

I am working on this process definition, which is composed of a main process and a sub-process that is created by the main process when the execution reaches a point in time.
As I created an application containing both main and subprocess models, when I deploy it, flowable-task is showing both models for the user when he is starting a new instance, but I would like to avoid him to start this subprocess, and it should be started by flowable. The user should start only the main process.

How could I avoid having this subprocess present in the new instance action inside flowable-task?

Thank you.

The Java and REST api’s support the startableByUser parameter., which can be used for this purpose (the sub process would not have this property configured). However, I don’t think flowable-task uses this API.

Ok. I will check that.

Thank you.