Hello - I am in need of few examples and scenarios where there is a use of Business Rules shape. If someone can help me with that, please.
Please go through the following link.
Business Rulesshape example
1) For Example Scenarios:
You could see the example as stated above. But you could also use below for more better understandings:
Please Click the Browse Process Library and search for business rules. Then you could see the list of some example processes. You can install them in some of your desired folder.
2) Important Points to remember:
-> If you want to check multiple conditions at a one shot, then we can make use of Business rules shape.
-> In Business rules we could make use of properties, profile elements,Map functions,static values etc.
-> Business rules shape will be best useful if the records are in a split manner. i.e., If all the records are in the same document then If you use Business rules, then the conditions would be applied on the first ever record of that document and would gives the results. The conditions won't be applied on the other records in that document. So, If you want to process those, then you need to split the records each from that document so that for every record a document is splitted. This is one use case.
-> You could even raise an exceptions for the failed/rejected records in the Business rules shape itself.
-> But If you wanna raise a separate exception for each of your conditions, then Business rules shape is not recommended. You could then use Decision shapes for each of your conditions and raise a separate exception for each condition separately.
If you want to check multiple conditions at a time we can use BRE instead of Decision. In decision we can check only single condition and we have one more advantage we can find "AND", "OR" logic in Business rule itself only.
Example: if you want to check 2 conditions or more at a time like
1. emplStatus = A
2. email_address = email@example.com
the above two conditions you can check at a time based on your requirement like "AND" or "OR".
That helps a lot!!
Retrieving data ...