Hello.
I am currently evaluating StackStorm and quite like it so far, we are comparing it against other more generic process workflow engines like Camunda for self-remediation on a network environment,
I have been playing with workflows but I got a few questions
On this kind of workflow, how could I for example on, make the loop only run the action when a specific
condition is matched (for example item().status != "closed"
version: 1.0
description: Close all the Opsgenie alerts
tasks:
list_alerts:
action: opsgenie.list_alerts
next:
- when: <% succeeded() %>
do: close_alerts
publish:
- alerts: <% result().result.data %>
close_alerts:
with:
items: <% ctx(alerts) %>
concurrency: 3
action: opsgenie.close_alert alert_id=<% item().id %>
Also there is a interesting feature on Camunda that I could not find here : https://docs.camunda.org/manual/7.12/reference/bpmn20/events/message-events/#message-intermediate-catching-event
It would allow for a workflow to pause somewhere in a step and wait for an external event (typically a webhook) to trigger to continue, I could not find a way to do the same here ?
Thanks.