Zoho CRM function How to get the value of a checkbox

Zoho CRM function How to get the value of a checkbox

Hi all,

I have a checkbox that is checked when a record has been processed.

In another function, I want to get the value of the checkbox e.g. checked or unchecked.

First I get the field from the record e.g.

addedToBS = subscription.get("Added_to_BS");

This returns null whether the checkbox is checked or not

How do I get the checkbox field and get whether it is checked or not?

Appreciate the help