[Bug] [Module Name] Sub_process Run do not use Workflow's tenant,but use default tenant
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
a workflow contains sub_process task, when run workflow and specify tenant(root),but run sub_process task use default tenant
What you expected to happen
sub_process task use workflow specify tenant
How to reproduce
create a workflow, this workflow contains sub_process, the sub_process contains a shell task, run the workflow and specify a tenant, then the shell task fails
Anything else
No response
Version
3.2.x
Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
I verified this issue using the dev branch, and it did not reproduce. Both workflow and sub_process(sub_workflow) are using the same tenant. Could you check which branch you are using?
@izualzhy I encountered the same issue. The task in sub_process is Spark.
It seems this bug has been fixed in dev branch.