I am beginning to learn Temporal in typescript and had question that I couldn’t find the answer to.
Should you call workflows from activities? Especially when you await completion of the workflow? I don’t have a use case at the moment. Just trying to get in the right frame of mind.
Should you call workflows from activities? Especially when you await completion of the workflow?
You can use the sdk client apis in your activity code, yes.
For completion of external workflow (not child workflow) from workflow code, see open issue here.
Say you’re calling an outside API from an activity and the incoming result* may vary. Does that break determinism on the workflow or does Temporal store the successful api call result in a database?