Skip to main content
16-Pearl
October 16, 2024
Question

Expression working only for once and not afterwards

  • October 16, 2024
  • 3 replies
  • 985 views

hello community,

      I have an expression which has value true and when i evaluate to fill the checkbox means to make the checkbox true then it works fine but only for the first time and now when i evaluate this validator again second time.. means it needs to return me true again then it does not return me true. any one has an idea why its like that?

so its only working for only once and then not.

 

Jamal8548_1-1729081366769.png

 

 

3 replies

1-Visitor
October 16, 2024

Change the value of the attribute labeled Data Change Type to "Always".

dgg

16-Pearl
March 6, 2025

Hi @MA8731174,

 

I cannot see the screenshot you provided.

Could you please share the mashup entity and replication steps?

 

18-Opal
March 20, 2025

Hi,

 

The Expression doesn't work the second time because you may have chosen 'Value' in the screenshot below. Could you change it too Always?

pshashipreetham_0-1742486158852.png

I often avoid expression and use the services, but expressions are always troublesome.

 

Thanks,

 

MA873117416-PearlAuthor
16-Pearl
March 21, 2025

Thanks for your suggestion!

Could you please share your service so I can better understand how you’ve implemented it? Also, where exactly are you saving the true/false value—are you storing it in a DataTable, a property of a Thing, or somewhere else? And how are you executing the logic?

 

Looking forward to your response!