Custom Type with == Operator #301
Unanswered
cyb3rsyph0n
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @cyb3rsyph0n can you provide more details on your model? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way for the rules engine to understand MyType == "" is a valid comparison? My type supports string comparison but when running through the rules engine I simply get
Exception while parsing expression workOrder.workOrderStatus == "Draft" - Operator '==' incompatible with operand types 'WorkOrderStatus' and 'String'
. I've tried registering the custom type in the reSettings but nothing seems to allow me to use the string comparison.Beta Was this translation helpful? Give feedback.
All reactions