Hello!
I am new to Temporal, so need some guidance on this -
I have written a workflow in Go with several activities that communicate with other services. Now I want to start this workflow remotely from a different service (also written in Go). Could you advise on how would I invoke this workflow remotely?
From what I have read, it looks like I have to use the WorkflowService, but not sure how? Is that the right approach? If so, is there an example I can look at?
You don’t have to use the apis directly, the SDK abstracts those for you so for example
c.ExecuteWorkflow
calls the StartWorkflowExecution api.
On your different service side if you use temporal sdk you would just need to specify your temporal service target (endpoint) and namespace (if its not “default”), for example: