WORKFLOW: get data from a previous dql task to a dql or javascript task

Hello everyone, maybe you can guide me. I have a problem. I don’t know how I can call the data that two dql code tasks return to me, whether to use it in another dql or javascript task. I’ve tried using regular expressions, but I can’t figure out how to integrate them into code. DQL from a previous task.
For example, the time_validation task returns the hour parameter that I need to use for aggregations.

Hello Jhon,

You can achieve that using {{result(<taskname>)}}.

In the case that you want to use the returned information inside a JavaScript task, you need something like: 
var ex = await execution(execution_id)
var myResult = await ex.result(‘time_validation’);
You can check the official documentation link for Javascript

Hope you a good monitoring!