Skip to content

KeepHQ Workflow Not Triggering with cel Condition for Incoming Alert #5045

Answered by dosubot bot
hopewise asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @hopewise! I'm Dosu and I’m helping the keep team.

The most likely reason your workflow isn't triggering is a type mismatch in your CEL expression: in some KeepHQ setups, the source field is treated as a list rather than a string. This means that an expression like source == 'teams-api-test' won't match, because it's comparing a list to a string, which CEL doesn't support. Instead, use source.contains("teams-api-test")—this works whether source is a string or a list and should resolve the issue for workflow triggers based on the source field [reference].

Other common pitfalls: mixed quote styles in CEL expressions can cause validation errors in the UI, so stick to either single or dou…

Replies: 2 comments 1 reply

Comment options

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

Answer selected by hopewise
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants