Condition not working
Hi ,
I have a scenario , where if a request is rejected by a user , the same request cannot be delete by the same user who rejected it .
a!buttonWidget(
label: "Delete",
icon: "times",
value: cons!Deleted[2]
saveInto: {ri!buttonAction}
style: "DESTRUCTIVE"
showwhen: and(
ri!readonly = false,
loggedinuser() = ri!maker ---- this is just a rule input with type text
a!isNotnullorempty(ri!rejectedby)
),
disabled: if(
ri!rejectedby = loggedinuser(),
true,
false
),
validate:false
Can anyone please help me with it . Thank you in advance.
