Skip to content

How to handle results of Actions in states such as OperationState #485

Closed Answered by tsurdilo
globalflea asked this question in Q&A
Discussion options

You must be logged in to vote

B. Do not merge the array of responses,
B.1. Do i apply the State output filter to all responses individual and merge the results before passing it on?
B.1.a. Then as with earlier question, how to i handle conflict of responses (see A.2)
B.2. If i pass the array of responses to the next state or workflow, how is the state suppose to handle it. The specs seems to say there's only a single input/output from the various states

B. Yes there is currently no way to specify that (see earlier reply to raise an issue in the spec repo for that). Currently its assumed if action/function has no results then there is nothing to be merged, but thats not enough.
B.1, B.1.a. Believe answered in previ…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@globalflea
Comment options

@cdavernas
Comment options

@globalflea
Comment options

Answer selected by globalflea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants