How to achieve workflow at the company level across different teams, different projects

Scenario simplification: the company has multiple teams, different projects under the team, and different tasks within the project.

Set up a workflow that consists of some projects or some tasks that different teams are responsible for.

The whole workflow is monitored by the project manager, and the specific step of the workflow is solved by the personnel of the corresponding task or project, and the personnel of each step can only have the permission of the task or project that they are responsible for.