This will occur by default if the subtask is not attached to the project that's under Flowsana control. By default, Asana doesn't assign subtasks to the project of their parent task.

If you want to have subtasks which are not attached to their project participate in a workflow, you can do that by making sure to include subtasks in the "Apply this workflow to" option when creating your workflow:

With subtasks included using this option. they will be included in the workflow, regardless of whether or not they are attached to the workflow's project.

When we say "included in the workflow", what that means is that a subtask can trigger a rule just like a top-level task can. Note that it does not mean that a rule's actions will be applied to all of the subtasks of a top-level task which triggers a rule. You can accomplish that using the "Apply this rule's action to" option when creating your workflow.