Hello ,
I have a situation where a document /file is generated for each specific state and stored in state specific constants. I have written an Expression rule to return the constant dynamically based on the state selected. The Rule is returning [Content Constant:3*****] something like this.
I am Unable to perform any Null check isObjectExists functionality on the Constant.
The isObjectExists/isnull work when i hard code the constant.But Dynamically it is not working.
Can you please suggest me any ways?
Or did any body get the same requirement?
Thanks In Advance
Discussion posts and replies are publicly visible
Just based on the function name, I think you are indeed getting a constant reference back. Maybe you can write a plugin function that will evaluate a constant reference? I think Constant.getTypedValue() would do the trick.