-2

I'm trying to achieve something like workflow rules/validation rules like attached screenshot.
I'm storing my values in custom metadata type, displaying on visualforce page. now i can't figure out how i can use these values in apex and build the logic around it.

Basically i cant think of anyway to use these rules in conditional format. like if, else conditions.

Any pointers would be highly appreciated

enter image description here

closed as too broad by David Reed, codeyinthecloud, Reshma, Derek F, battery.cord Jan 11 at 14:59

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    What have you tried so far? Where are you stuck? – Adrian Larson Jan 10 at 22:31
  • how do i use these records to create conditions. I have no clue and couldnt do enough research, may be i'm not using the right keywords. – naruto-sfdc Jan 10 at 22:47
  • 2
    You're simply going to have to try building it yourself. It's not a trivial undertaking. – Adrian Larson Jan 10 at 22:51
  • i will do that, thanks for the reply though – naruto-sfdc Jan 10 at 23:03