Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
English

You have a requirement where a datalist List needs to return a specific status based on the value of a column.

In this case, we want to return the status "Expired" or "Active" based on the date value in the datalist List compared to the actual date.

Edit the datalist list column where you want to return the status and select Bean Shell Formatter to enter the code below(Refer to Figure 2).

...