cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Best practice to bundle and deploy automatically a Workflow in an app

jegron
DynaMight Champion
DynaMight Champion

Hi,

I would like to bundle a custom workflow in our app. It should deploy it automatically.

How can I do that ?

Observability Engineer at Phenisys - Dynatrace Professional
3 REPLIES 3

wolfgang_heider
Dynatrace Advisor
Dynatrace Advisor

Hi @jegron ,

did you already find https://github.com/Dynatrace/automation-workflow-creator that might give you a kick-start of how it could be done?

Please let me know, if that example is not sufficient for your use case.

Best, Wolfgang

jegron
DynaMight Champion
DynaMight Champion

Hi @wolfgang_heider 

Thank you. I've seen it but was wondering if I could deploy a workflow via a JSON like that.

For example, the Carbon Impact app automatically deploys a workflow when I deploy the app.

Observability Engineer at Phenisys - Dynatrace Professional

Hi @jegron!

As of now, there's no out-of-the-box solution to ship a workflow with a custom app. 
In the example of the Carbon Impact app you brought up, they have a custom logic to create and manage the workflow when it is deployed (and to be precise, when the app settings opens).

The easiest way to create a workflow programmatically (within a custom app) is by using an automation SDK client

Please let me know if this answers your question or if I can help you further.

Your AutomationEngine ally!

Featured Posts