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

How to pass parameter value from one task to to another task i.e "Execute DQL Query" in workflow

heramb_sawant
Organizer

Hi ,
I have workflow Task 1 is SRG and Task 2 is DQL. I want to pass SRG validation id received in output of Task 1  to the Task 2 i.e Execute DQL Query. How can I do this??

Please help me on this

3 REPLIES 3

JohannesBraeuer
Dynatrace Participant
Dynatrace Participant

Hello Heramb, 

I think we discussed this question via email. You can access the output from a previous workflow action using an expression like this: {{result(`NAME_OF_THE_WORKFLOW_ACTION`).OUTPUT_PARAM}} 
Details are provided here: https://docs.dynatrace.com/docs/platform-modules/automations/workflows/reference#result

Best Regards,
Johannes

Thanks Johannes, I am able to execute workflow using API.

But can we restrict user to execute particular workflow, we do not want any user to run execute any workflow by API, is it possible to to give such permission at workflow level????


Regards
Heramb Sawant

JohannesBraeuer
Dynatrace Participant
Dynatrace Participant

Hello Heramb, currently it is not possible to restrict execution permissions for individual workflows. However, we're currently investing in designing a concept to handle this requirement. 

Featured Posts