Posted: 19 Dec 2019 8:31 EST Last activity: 20 Dec 2019 14:55 EST
Product enhancement: Provide rules within DX API
Request for change – Provide rules within DX API
We would like the Pega platform to provide some business logic to the frontend by using the DX API. Some examples are:
A Dutch postal code has always to comply to the format 9999XX. So the field contains 6 characters. The first 4 characters (the characters starting at position 1 ad 4 long) must be numeric. The characters starting at position 5 and two long must be alphanumeric.
A name may not have punctuation marks
A customer should be at least 18 years old. (Parameter a <= Parameter b - 18 years) whereby Parameter b (the current date) – 18 years is already calculated by Pega before providing to DX API.
Conditional field hiding/showing
Problem to be solved:
De Volksbank prefers to define business logic only in the Pega-platform and not into the frontend. At the same time, we would like to inform the user directly in case (s)he makes a typo instead of waiting till (s)he submits the complete form.
Furthermore, reduces backend calls and therefore improves performance.
***Edited by Moderator Marissa to update SR Details; update platform capability tags***
Thank you for sharing your enhancement here with us. I have submitted this on your behalf and updated your original thread with the FDBK ID. You can take that ID and send to your Account Executive for next steps.