-
Notifications
You must be signed in to change notification settings - Fork 805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[➕ Feature]: workflow priority #2996
Comments
hey @00041275 - can you elaborate on what's the expected outcome? |
The thing is that the logic of prioritization is embedded in mapping, extracting. This is for the necessary/mandatory is done first, and then the other. In my case, I see cases of unnecessary events, where I would like to transfer the alert to the dismissed state before I enrich it in another workflow. |
up |
@00041275, do you mean that some steps should be executed in "guaranteed time" or "retried" if they fail, but others shouldn't? |
no, I just don't wanna call next workflow with enrichment if alert was dissmissed by previous "dismiss workflow"
|
Got ya. Yea it’s valid use case. Let me think if I have some quick win for that. Will update here. |
Can you give me feedback about workflow priority? Do you have quick win? |
@00041275 I could think of a workflow running with a delay and checking alert's enrichments in a condition. Workflow A:
Workflow B:
Far from ideal, but may help. |
@00041275 unfortunately couldn’t find a quick win, it requires some change in the way we trigger workflows now. I have some idea about design for that so if you want to collaborate on that I’ll be more than happy to |
This is a good compromise, thanks |
please write your idea |
Ok so, as always, I was thinking about doing it very simple - just add some However, this naive approach falls down in two places:
So, the next approach was to do smth like this:
today we have
so add
and then, adjust
to smth like:
then, we need to add a column to workflowexecution to hold all dependencies, and also adjust the main loop from:
to
|
ok, try to test it and I think we can do 1 more : add sleep provider for idea @Matvey-Kuk without call python provider |
I'm not sure maybe @Matvey-Kuk can answer - how will it update the alert? If the first workflow enriches the alert with some attribute the second workflow needs - how will it work? |
add to workflow priority rule
The text was updated successfully, but these errors were encountered: