From f6583900de4b05d6bd88f8ffb161dd8a35fb3ee3 Mon Sep 17 00:00:00 2001 From: RomanBachaloSigmaSoftware <77355790+RomanBachaloSigmaSoftware@users.noreply.github.com> Date: Thu, 13 Jun 2024 02:39:37 +0300 Subject: [PATCH] fix for new maestro sdk (#151) --- app/ds_config_sample.py | 2 +- app/maestro/examples/eg001_trigger_workflow.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/ds_config_sample.py b/app/ds_config_sample.py index cd9593f..a2ca089 100644 --- a/app/ds_config_sample.py +++ b/app/ds_config_sample.py @@ -16,7 +16,7 @@ "rooms_api_client_host": "https://demo.rooms.docusign.com/restapi", "monitor_api_client_host": "https://lens-d.docusign.net", "admin_api_client_host": "https://api-d.docusign.net/management", - "maestro_api_client_host": "https://demo.services.docusign.net/", + "maestro_api_client_host": "https://apps-d.docusign.com/api/maestro", "webforms_api_client_host": "https://apps-d.docusign.com/api/webforms/v1.1", "allow_silent_authentication": True, # a user can be silently authenticated if they have an # active login session on another tab of the same browser diff --git a/app/maestro/examples/eg001_trigger_workflow.py b/app/maestro/examples/eg001_trigger_workflow.py index 7a99cac..65637e6 100644 --- a/app/maestro/examples/eg001_trigger_workflow.py +++ b/app/maestro/examples/eg001_trigger_workflow.py @@ -68,6 +68,7 @@ def trigger_workflow(workflow, args): workflow_trigger_api = WorkflowTriggerApi(api_client) trigger_response = workflow_trigger_api.trigger_workflow( args["account_id"], + args["workflow_id"], trigger_payload, mtid=mtid, mtsec=mtsec )