on 02-08-2018 12:11 AM
Hi All,
I have created a FIORI app to display the business rules from SCP with the help of below blog
Has anyone added validations on particular cell(of the business rules table on screen) while using Business Rules API?
~Sruti
Hi Sruti,
What kind of validations do you want achieve at a cell level? Can you provide some more information to understand your requirement?
Regards,
Vikrant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sruti,
We plan to provide value help (future) for selecting a value from allowed list of values. I think this will solve your use case and do not need a validation at cell level. Do you agree?
Regards,
Vikrant
Yes Shruti, Validations are there at two levels in business rules editor. Once when you are modelling the rules and next when you are deploying the rules. They are design time and runtime validations respectively. Design time validation you can trigger on clicking the Validate button on the editor of each rule artefacts and runtime validations are triggered when you Deploy the rule service. The validation errors are shown in the notification bars on top right corner of the editor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Archana,
I have create a custom sapui5 screen by embedding the Rules Editor UI and integrating with Business Rules ODATA services.
I am trying to write some additional validations on the screen data that business user has entered, before saving/deploying the rules from my custom screen. The model binding seems to be quite complex to dynamically read it. Is there a way to read the screen data from the business rules UI?
Regards,
Sruti
Hello Shruti,
You can write small utility methods using business rules repository APIs. Now we have REST repository APIs , you can use them over ODATA APIs. There are no handle to read data from UI elements. Rules already provides validation of the its content but if you need additional data validation then you need to write your utilities.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.