How do I check if a return of an expression rule is a specific record type?

Certified Senior Developer

I have an expression rule will return 2 types of record type

- Case

- Error

depends on if there is any error occur during the expression rule process

so when I get the result from the expression rule, I do need to know what type is the returned value,

how can I achieve that?

I tried to use typeof(), but it does not work. I am wondering if I need to use type!, but I do not know how to write a valid reference using type!

  Discussion posts and replies are publicly visible