conductor-oss / conductor-oss/python-sdk

Get AuthorizationException when trying to update variables of a started workflow

オープン
#248 コメント 3 件 リアクション 0 件 担当者 1 名 @IgorChvyrov-sm が担当を希望しています GitHub で見る
bug
主要言語
Python
スター
104
フォーク
42
平均マージ
2日 1時間
マージ済み PR(30日)
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`:

![image](https://github.com/conductor-sdk/conductor-python/assets/1499916/db7e9391-46ca-42d1-97d3-75d4c7160730)

![image](https://github.com/conductor-sdk/conductor-python/assets/1499916/c26a3f27-aa4a-448d-979b-210323a150ac)

Could this be something related to the workflow still starting execution?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。