For all Tasks MainProcess and SubProcess , I have set Candidate groups(TEST group).
calling callActivity (SubprocessA) only works if I set to the SubTask1 to "single user" or "process initiator". otherwise after completing Task1, workflow is active but the Subprocess SubTask1 wouldn't appear.
I need to get the SubProcess tasks work using candidate groups.
I try your main and subproces in activiti 6.0. Please provide more information for example:
You put your TEST group on task in Assignment but in section Identity store in Candidate groups.
Did you create TEST group in activiti-app application in Identity Management section. I created TEST group in activiti-app application.
Which API metod do you use to get tasks. I propose to look into activiti-admin application.
There you can find process instance and when you go in, you will see tab "Tasks" and you should click on task to get tab "Identity links". There you will see Group ID not Group name. My group has ID 1001. I use groupsListString.add("1001"); and API method taskQuery.taskCandidateGroupIn(groupsListString); and got task "SubTask1" in my angular app.