cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Expression working only for once and not afterwards

MA8731174
15-Moonstone

Expression working only for once and not afterwards

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

 

 

4 REPLIES 4
dgg
13-Aquamarine
13-Aquamarine
(To:MA8731174)

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

dgg

Hi @MA8731174,

 

I cannot see the screenshot you provided.

Could you please share the mashup entity and replication steps?

 

Tony

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,

 

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.

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!

 

Announcements


Top Tags