firdaus / cadence-python

Python framework for Cadence Workflow Service
https://cadenceworkflow.io
MIT License
151 stars 24 forks source link

Fetching completed workflow ID #20

Open ibrahim-alafeef opened 4 years ago

ibrahim-alafeef commented 4 years ago

Is there any way to fetch the completed activity/workflow in the logger?

The DEBUG logger is returning the status of the workflow, created and running is returning with the workflow ID, but the completed workflow does not return the workflow ID.

I am using async in the client to hit the request, and fetching the statuses from the logs whether the workflow is created, running, completed or failed.

Thanks

firdaus commented 4 years ago

Yeah I think that's doable, I can place a log message with the workflow id when the workflow method returns.