Skip to Content

How to get value of a binding inside a rule?

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?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jul 03 at 05:06 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 07 at 03:21 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded