Skip to content
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

Rule Engine #585

Open
ankurcts opened this issue Feb 22, 2024 · 0 comments
Open

Rule Engine #585

ankurcts opened this issue Feb 22, 2024 · 0 comments

Comments

@ankurcts
Copy link

I have created a rule in the rule engine in the azure blob storage that is Validatealert and this rule defines the expression which contains the left and right-side dynamic value but somehow, the right-side value creates an issue. So, are we supporting right side dynamic value or not? For example-

{
'RuleName': 'ValidateAlert',
'Expression':(account.AuthorizationKey.ToString()==(account.AuthorizationKey.ToString()==commonEvent.DynamicAuthorizationKey.ToString()),
'ErrorMessage': 'Failed : Dynamic alert is invalid.'
}

I'm getting the parser issue that is 'Exception while parsing expression Enum type 'DynamicAuthorizationKey' not found'.
I tried with multiple permutation and combination to resolve that issue but just want to verify whether microsoft is supporting or not right side dynamic value in the rule engine definition.

Kindly have a look into this issue, and please suggest to me an appropriate solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant