Skip to content

how to do nested "with items" in orquesta? #5718

Answered by nzlosh
clindner85 asked this question in Workflows
Discussion options

You must be logged in to vote

To control workflow concurrency use Policies https://docs.stackstorm.com/reference/policies.html, since attempting to perform concurrency management from an action that checks St2 execution state will more than likely encounter unresolvable race conditions.

The is no concept of nesting with-items as per https://docs.stackstorm.com/orquesta/languages/orquesta.html#with-items-model, it's important to understand that results are not available per item iteration, but at the end of the with-item action in the form of a result list. So with-items behaves nothing like a python loop.

If the StackStorm concurrency model doesn't fit your needs, you may have to look at an external distributed lockin…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@clindner85
Comment options

@bertyah
Comment options

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