Behaviours on checkbox field updates don't work?

jgiraldo1 February 26, 2020

I have a very simple behavior that is supposed to be triggered by an update (server-side script) in a custom field of type checkboxes

I intentionally did not set any conditions for the behavior

If click in Edit or try to trigger any transition that loads a screen where the said checkboxes field is present, the behavior gets triggered. However, if in the Edit (or any other screen) I update the field by ticking or unticking any of the checkboxes values for the field, that does not seem trigger the behavior.

Are behaviors on checkboxes field updates not supposed to work?

def checkboxesfield = getFieldByName("Checkboxes Field")
def compositesVal = checkboxesfield .getValue()

checkboxesfield.setOverlay(compositesVal.toString()


1 answer

0 votes
jgiraldo1 March 5, 2020

It seems to me that once you use a Behavior to dynamically change the checkbox options for the field, other behaviors that depend on the value of the checkboxes field stop working completely.

This seems more like a bug to me.

Suggest an answer

Log in or Sign up to answer