114
Views
4
Comments
Solved
Why IsActive boolean attribute is showing true or false?
Question
Application Type
Mobile

I have a IsActive attribute in Entity, But it's value is showing in table like true and false. I need to get the value like Active or Inactive. Any Solutions?

2025-04-17 05-42-16
Ajit Kurane
Solution

Hi ,

Refer attached demo and oml file.

Preview In Devices (personal-xyog61l7.outsystemscloud.com)

customise below expression as per your use case,

Thanks,

Ajit Kurane.

FarhanDemo.oml
2025-04-17 05-42-16
Ajit Kurane

Hi, 

We can achieve that using if condition. Now its showing the boolean values which stored in entity in the form of true or false.

In the expression you can put like this,

e.g

If(true,"Active","Inactive")

If you share the oml then it would be great to get it done or share the snapshot of expression value which is showing in the status column.

Thanks.

2022-07-27 14-21-26
Farhan Ameer

After adding that, all the values showing active.


2025-04-17 05-42-16
Ajit Kurane
Solution

Hi ,

Refer attached demo and oml file.

Preview In Devices (personal-xyog61l7.outsystemscloud.com)

customise below expression as per your use case,

Thanks,

Ajit Kurane.

FarhanDemo.oml
2025-12-17 21-10-06
Shlok Agrawal

Hi @Farhan Ameer

The Isactive value is set to true for all by default if no configurable input is provided for that.

In the database tab change the value of one to inactive and some to active and see if it still doesn't work.

Thanks 

Shlok Agrawal

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.