Replies: 1 comment
-
OK, I got it figured out to an extent. The parameter passing works, when the parameters are created OK, but there is a question of whether I can get execution timestamp as default value for parameter... that's probably a separate question. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have just started trying to use Stackstorm, and I was wondering how to correctly make available action parameters to the (orchestra) workflow it executes.
I am trying to set up a workflow with the first step of executing a sql query.
The workflow should accept a parameter report_date, and if it is not supplied use the timestamp of execution.
The action YAML is this:
And the workflow YAML is:
But the SQL executor complains that None is not a timestamp, so apparently the ctx().report_date is not the right way to refer to this.
Could you tell me, how should it be done, please?
Beta Was this translation helpful? Give feedback.
All reactions