- Notifications
You must be signed in to change notification settings - Fork 117
Closed
Labels
Rust SDKIssues about or asking for Rust SDK releaseIssues about or asking for Rust SDK releaseenhancementNew feature or requestNew feature or request
Description
Currently the workflow_id and run_id are not accessible from a workflow worker, as it can not be derived from the temporal_sdk::WfContext.
Describe the solution you'd like
Extract the information from the StartWorkflow activation and make it available insight the workflow.
According to @mjameswh extraction should take place https://github.com/temporalio/sdk-core/blob/master/sdk/src/lib.rs#L401-L413 or https://github.com/temporalio/sdk-core/blob/master/sdk/src/workflow_future.rs#L168.
Additional context
Related Slack discussion: https://temporalio.slack.com/archives/C02MTL0GEKH/p1699638930330959
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Rust SDKIssues about or asking for Rust SDK releaseIssues about or asking for Rust SDK releaseenhancementNew feature or requestNew feature or request