Filter Condition Changes from null or empty

jack_zheng
Kilo Expert

HI All

I need help creating a filter condition on the field Assigned To when it changes from empty (null).   Is there a way to do this?

I'm using this filter in a business rule to create metric instances on who is doing incident assignments when the assigned is empty changing to a technician.

Thank you

1 ACCEPTED SOLUTION

How do I input that into the filter condition field in business rules?


find_real_file.png


View solution in original post

4 REPLIES 4

dvp
Mega Sage

Try this


current.assigned_to.changesFrom('')


How do I input that into the filter condition field in business rules?


find_real_file.png


interestingly just by leaving the field blank like the image above solves my issue.


pelleitaby
Giga Contributor

If you are in need of the opposite, you can also write the code like this.

!current.assigned_to.changesFrom('')