I'm getting the errorExpression evaluation error at function a!recordActionField [line xxx]: Cannot compare incompatible operands of type Null and type Boolean.I'm not sure why this is occurring.Code:
a!gridColumn( value: a!defaultValue( value: ri!recordActions, default: a!recordActionField( actions: { a!recordActionItem( action: relatedAction1, identifier: fv!identifier ), a!recordActionItem( action: relatedAction2, identifier: fv!identifier ), a!recordActionItem( action: relatedAction3, identifier: fv!identifier ), a!recordActionItem( action: relatedAction4, identifier: fv!identifier ) }, style: "MENU", openActionsIn: "SAME_TAB" ) ), showWhen: a!defaultValue(ri!showGridActions, true()) )
Discussion posts and replies are publicly visible
Hi MohammedIdrisKhan ,
Would like to know when you are getting this error? Is it when you click any record action?
Please check in all the record Action's Interface if you have, and do typecast in the two Boolean Comparison where you might have expected a value but it is passed null. If it erroring for a particular record, pass that identifier and test in the interface