conductor-oss / conductor-oss/python-sdk
Get AuthorizationException when trying to update variables of a started workflow
- 主要语言
- Python
- 星标
- 104
- 派生
- 42
- 平均合并
- 2 天 1 小时
- 30 天内合并 PR
- 3
描述
I'm trying to set some workflow variables just after starting a workflow with this code:
```python
clients = OrkesClients(configuration=config)
executor = WorkflowExecutor(config)
runner = clients.get_workflow_client()
request = StartWorkflowRequest(
name="flow", correlation_id="corr_id", version=1)
flow_id = runner.start_workflow(request)
runner.update_variables(flow_id, variables={"myglobal": "global"})
```
But I'm getting a 404 error, which is returned as result of an internal `ApiException` raised from `conductor/client/http/rest.py`. It seems it is unable to reach `/workflows/{workflow_id}/variables`:


Could this be something related to the workflow still starting execution?
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。