temporal icon indicating copy to clipboard operation
temporal copied to clipboard

trigger one workflow from another workflow

Open mmoya91 opened this issue 2 years ago • 1 comments

I was wondering if it was possible to trigger one workflow using another workflow? For instance: can workflow A trigger workflow B and can workflow B access outputs from workflow A's activity?

We want to build two different workflows for two different teams that share the same temporal server

mmoya91 avatar Jan 30 '24 21:01 mmoya91

Yes, it is possible to trigger workflows from within a workflow. Accessing activity results is slightly more difficult but still possible. If you are wondering from a security perspective, you should definitely use two different servers to keep everything separate. If you only want the two teams to not accidentally interfere with each others activity- and workflow names using two namespaces will likely be enough.

theleeeo avatar Feb 05 '24 14:02 theleeeo