Legacy Dev Forum Posts

 View Only

Sign Up

Is it possible to know the dependencies of a flow?

  • 1.  Is it possible to know the dependencies of a flow?

    Posted 06-05-2025 19:01

    isallen | 2022-11-08 17:05:14 UTC | #1

    Hello everyone,

    I just want to know if before using archy in order to publish a flow, I could take the info of which dependencies affect to it so I can create them in the target organization before publishing the archy flow.

    I haven't found any solutions/workarounds anywhere, any ideas?

    Thanks beforehand,

    Isusko


    MelissaBailey | 2022-11-08 17:22:50 UTC | #2

    Archy does not have a command to get that info, but the UI will display it for a flow in Resources -> Dependencies https://help.mypurecloud.com/articles/manage-dependencies-flow/


    isallen | 2022-11-30 14:30:04 UTC | #3

    What about requesting that info from GC CLI or Python SDK? Is there any other way?

    Thanks for the reply,

    Isusko


    jon.vansteen | 2022-12-01 14:23:26 UTC | #4

    Hi @isallen, It looks like you could do a GET/api/v2/architect/dependencytracking/consumedresources?id={{FLOW_ID}}&version={{FLOW_VERSION}}&objectType={{FLOW_TYPE}} to get the resources dependencies that are being used in a flow. It looks like this is what you would want to use with the python sdk - https://developer.genesys.cloud/devapps/sdk/docexplorer/purecloudpython/ArchitectApi#get_architect_dependencytracking_consumedresources. I tested this out in a flow of mine using the API endpoint (not the python sdk) and am seeing things like

        {
          "id": "genesys",
          "name": "Genesys TTS",
          "type": "TTSENGINE",
          "deleted": false,
          "selfUri": "/api/v2/architect/dependencytracking/object?id=genesys&objectType=TTSENGINE"
        },

    and

        {
          "id": "my_queue_id",
          "name": "MyQueueName",
          "type": "QUEUE",
          "deleted": false,
          "selfUri": "/api/v2/architect/dependencytracking/object?id=my_queue_id&objectType=QUEUE"
        },

    so I think this is what you would want. And you can also narrow down the different resource types you are looking for using the resource_type = ['resource_type_example'] parameter option for the call. In the link above it has a list of available resource types you can pass in under the resource_type in the [Parameters](https://developer.genesys.cloud/devapps/sdk/docexplorer/purecloudpython/ArchitectApi#parameters-16) section.

    Thanks, Jon


    John_Carnell | 2022-12-01 14:37:04 UTC | #5

    Hi Isuko,

    You can also use the CLI to get this information via the gc architect dependencytracking command. Our entire API is mirrored in the CLI so anything you call in via a REST call you can usually invoke via our CLI.

    Thanks, John Carnell Manager, Developer Engagement


    system | 2023-01-01 14:37:51 UTC | #6

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 16785