Skip to Content

question on BRF+ rules

Hi,

I am creating a BRF+ rule , I want to check if order type is equal to PM01 than change the description ( which is element ) in my BRF+, else if order type is equal tp PM02 change the order description to preventative order else if its equal to PM03 change the description to corrective order.

can I achieve the above condition in one rule

I mean like switch case can we perform in BRF+ or like if .. else if .. how to achieve that .. please suggest.

Thnaks,

RG

Capture.PNG (16.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 05, 2016 at 02:20 PM

    Hi Ramya,

    I am not sure about your complete requirement, but, why not using a decision table, e.g.! That way any future description changes would not impact the rule, but are handled in the decision table. Having said that, it depends what the you are trying to achieve.

    Regards,


    Shahram

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 08, 2016 at 10:44 AM

    yes you can use the Case Expression and also Decision Table suits your requirement

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.