microsoft / microsoft/RulesEngine

ActionContext is not able to get the actual value assigned from the rules

Open
#390 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
4.4k
Forks
616
Avg merge
6m
Merged PRs (30d)
2

Description

Hi,

Here is a snippet where we pass certain parameters on success and failure methods.
image

Now I was expecting the underlying value in my action context but instead I get the value in string like "Device.Id".
I tried a simple arithematic equation like "20*2" that too is being received as a string
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the success and failure parameter examples from the issue, including Device.Id and 20*2, then trace how those values reach ActionContext. Done means expressions resolve to their underlying values instead of remaining strings.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.