functions
latest
false
Functions ユーザー ガイド
関数をパブリッシュする前にローカルでテストし、クラウド デバッグが必要な場合は Studio Web にプッシュします。
ローカルで実行
JSON 入力ペイロードを使用してエントリ ポイントを呼び出します。
uipath run main '{"message": "hello"}'
uipath run main '{"message": "hello"}'
The local run resolves assets, buckets, and connections through the entries in bindings.json. No tenant mapping applies locally, so each call falls back to its design-time identifier and the log records one No resource overwrite matched line per binding. Iterate here until the function returns the output you expect.
For what those lines mean and how the same identifiers are remapped in a target tenant, see Resource bindings.
Studio Web でデバッグする
プロジェクトを Studio Web にプッシュし、クラウドでデバッグします。
uipath push
uipath push
Studio Web は UiPath がホストする環境で関数を実行するので、ローカルで利用できないプラットフォーム コンテキストに依存する問題を再現するのに役立ちます。
ヒント
- 代表的な入力を使用して、各エントリ ポイントを個別にテストします。
- エラー パスを実行する — エラーが期待どおりに動作することを確認します ( 「Python 関数を構築する」を参照)。
- ト レース を使用して、どのステップが失敗するかを特定します。