We need to know when our app starts up what are all of the various User Task (Activity) that the process is made up of. I have looked through the API and once I have my processDefinition I can call
and buried in there is my process and a flowelementlist where I eventually see my defined UserTask objects
but is this the best and a stable way to get this? I would have expected a createActivityDefinitionQuery or createTaskDefinitionQuery on one of the services so I could get this defining information.
the TaskQuery and TaskInfoQuery both seem to be concerned with running task instances, not the list of defined tasks for a process