Skip to content

Commit

Permalink
Merge pull request #620 from SSWConsulting/617_fix_query_who_knows_az…
Browse files Browse the repository at this point in the history
…ure_in_melbourne

Filter employees with exact matched skill
  • Loading branch information
AttackOnMorty committed Sep 4, 2023
2 parents ea6501c + 1b87a39 commit 11e9575
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,14 @@
},
"property": "dialog.skillEntity",
"value": "=turn.exactMatchedSkills[0]"
},
{
"$kind": "Microsoft.SetProperty",
"$designer": {
"id": "CgY3fn"
},
"property": "turn.employees",
"value": "=where(turn.employees, e => count(where(unique(flatten(select(e.skills, skill => skill.technology))), skill => equals(toLower(skill), toLower(dialog.skillEntity)))) == 1)"
}
],
"elseActions": [
Expand Down

0 comments on commit 11e9575

Please sign in to comment.