Skip to content

why my st2 workflows always assign null value on action output even my action can give the output? #5807

Answered by fdrab
idham1311 asked this question in Workflows
Discussion options

You must be logged in to vote

Have you assigned the output of the action to the output of the workflow? As far as I can tell, there's no "drag and drop" way to do this, you have to edit the yaml file (in the workflow designer. Consider my workflow that contains a single operation that outputs and publishes date into "outputs" variable:

This is the output of the single action. If I want the output of said action as the output of the workflow itself, I have to assign it to the workflow output in the yaml definition like this:

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@idham1311
Comment options

Comment options

You must be logged in to vote
1 reply
@idham1311
Comment options

Answer selected by idham1311
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #5806 on November 15, 2022 11:18.