cancel
Showing results for 
Search instead for 
Did you mean: 

How to get value of a binding inside a rule?

0 Kudos

I'm using an object table and I would like to modify the displayed data with a rule. In this case I want the value of {isActive} inside the rule so I can check it and return "Accpeted", "Rejected" or whatever based on the value. How do I go about doing this?

Accepted Solutions (1)

Accepted Solutions (1)

ashishjain14
Employee
Employee
0 Kudos

Hi Bryan,

You can write a custom rule to achieve this. With-in you rule you can use the getBindingObject to get the current binding object and then fetch isActive from this binding object. Post that you can apply you algorithm to return the value of your choice.

HTH.

Regards,

Ashish

Answers (1)

Answers (1)

0 Kudos

Sorry for the late reply Ashish, we had to do some things to the backend first before I could test this. Thank you I have accepted the answer.