24
Views
3
Comments
Solved
how to add value in an entity where this value is boolean
Application Type
Reactive

i need save value for Switch where it two value the first is 

 (true or false) if user add input date = current date the value of (is active )= (true)else set value of (is active) = false and set value of (isend)=true

i made the frist switching when user need stop voting 


The second

i need make if user switch from (stop voting) to (resume voting)

how  can make set value of (is active) = true and set value of (isend)

= false in an entity

as at attachment oml

Round.oml

Rank: #300
Solution

Please find attached updated one. :)

RoundSachin19.oml

mvp_badge
MVP
Rank: #177

Hello Andrew,

I'm having a hard time understanding what you are trying to accomplish, would you mind rephrasing?

Also, have you gone through the OutSystems training? Your 2nd question I'm thinking you are asking how to add a Boolean attribute to an Entity? You might consider this course on Modeling Data: https://www.outsystems.com/training/courses/123/modeling-data/


Rank: #300

Hi Andrew,

Please find attached the updated OML. Let me know, if you need any other help.

Thanks & Kind Regards,

Sachin

RoundSachin18.oml

Rank: #300
Solution

Please find attached updated one. :)

RoundSachin19.oml