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

How to reference return from previous task

henk_stobbe
DynaMight Leader
DynaMight Leader

henk_stobbe_0-1719577385592.png

 

 

So what is the name in javascript when when you want to reference in the next task?

 

KR Henk

1 REPLY 1

mark_bley
Dynatrace Champion
Dynatrace Champion

You will need to reference the task via the name/id.

The code to copy/paste:

  var task_info = await fetch(`/platform/automation/v0.1/executions/${execution_id}/tasks/get_top10_error_logs`)
  var error_logs_task = await task_info.json()

mark_bley_0-1722509920444.png

 

Featured Posts