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

Workflow run manually how to add parameters

henk_stobbe
DynaMight Champion
DynaMight Champion

Hello,

Another basic workflow question.

If I want to test my workflow manually,  and I am depending on parameters that should be given in a POST trigger.

I need to provision this in my code like:

                       if param is empty then set a test value? 

KR Henk

3 REPLIES 3

christian_kreuz
Dynatrace Helper
Dynatrace Helper

If you're talking about the On demand trigger, providing parameters is currently only possible via the API, but unfortunately not (yet) in the UI.

ChristopherHejl
Dynatrace Helper
Dynatrace Helper

As Christian stated this is planned to provide not only an option via the UI but also set default input parameters.
Meanwhile / as a general best practice, you can also use default values when using them via the "default" filter (see bottom of the doc Expression reference - Dynatrace Docs)
Eg: {{ execution().input.my_var | default('my default value') }}

Hi Guys,

It seems I can only give you kudo's 

Thx!

Featured Posts