Rule is not getting call dynamically

Hi All,

I am passing one dynamic value in expression rule in textField to display value but rule is not getiing refresh n taking old value only.

Here below rule should take dynamic value n on t he basis of that should return respective value .

Below field in in with(). What could be the root cause of that please share.

a!textField(
label: "Name",
value:rule!getNamebyId(local!data.requestId),
readonly: true()
)

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Stefan Helzle

    As a point of clarificaiton, while you're totally right about load(), I belive in >99% of use cases, a!localVariables() will work in expression rules as-desired without needing to set "refreshAlways" (or any other a!refreshVariable() modifications).  The possible exceptions being when the expression rule sets a dynamic value based on something other than a potentially-changed rule input, such as capturing the current time for some reason.

Children
No Data