12 Jun 2024 12:36 PM
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
Solved! Go to Solution.
12 Jun 2024 12:47 PM
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.
12 Jun 2024 12:50 PM
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') }}
12 Jun 2024 01:12 PM
Hi Guys,
It seems I can only give you kudo's
Thx!