Is it possible to create a rule that has a function as a rule input? I'm try

Certified Senior Developer
Is it possible to create a rule that has a function as a rule input? I'm trying to create an accessible version of the a!pickerFieldCustom, but I'm not sure it's possible for a rule to be able to take in a suggestFunction the same way this SAIL function does.

In a test, I get this error: "Expression evaluation error at function fn!error [line 23]: Rule References cannot be passed as rule inputs"

Does anyone know any clever ways around this limitation? Otherwise I'll need to copy-paste a ton of code with minor changes for each possible suggest function we use, I'd much rather have a generic version of the rule that can be plugged in wherever we use an a!pickerFieldCustom.

OriginalPostID-206210

OriginalPostID-206210

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data