I am trying to integrate sql query in my Orquestra workflow:
--
version: 1.0
name: Daily report
description: Get daily stats
tasks:
task1:
action: sql.query
input:
connection: my_conn
query: "SELECT ...
<long running query>
"
next:
publish: data="<% result() %>"
do: task2
task2:
action: "reports.act1"
input:
data: "<% ctx(data) %>"
And I get error:
errors:
- message: The spec is not type of list.
What gives?
act1 is just a simple python action which accepts data parameter and prints out its type and contents.
Reactions are currently unavailable
I am trying to integrate sql query in my Orquestra workflow:
-- version: 1.0 name: Daily report description: Get daily stats tasks: task1: action: sql.query input: connection: my_conn query: "SELECT ... <long running query> " next: publish: data="<% result() %>" do: task2 task2: action: "reports.act1" input: data: "<% ctx(data) %>"And I get error:
What gives?
act1 is just a simple python action which accepts data parameter and prints out its type and contents.