- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2022 12:00 AM
As shown in above pic, user should not be able to certify empty elements as marked in yellow. There should be some error when user tries to certify these empty elements.
Please help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2022 03:24 AM
Business Rule which you need to set up will look like below:
BR Details;
Table: Certification Element:
Condition: State Changes to Certified
Script :
(function executeRule(current, previous /*null when async*/) {
// Add your code here
if(current.certified_value == ''){
gs.addErrorMessage('Empty Field Values cannot be certified');
current.setAbortAction(true);
}
})(current, previous);
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2022 02:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2022 02:59 AM
but am not sure which table should be used to restrict data certification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2022 03:19 AM
Hi,
When user certifies their cert task, record for that cert task is updated in cert_element table with state of certified.
You need to configure business rules on cert_element table to abort transaction for any non filled values and check if state is being updated to "certified" with no value in "Certified value" field.
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2022 03:20 AM
Also
I see you have created duplicate thread in community for the same purpose, please request to delete one of them and continue on one thread only.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2022 03:24 AM
Business Rule which you need to set up will look like below:
BR Details;
Table: Certification Element:
Condition: State Changes to Certified
Script :
(function executeRule(current, previous /*null when async*/) {
// Add your code here
if(current.certified_value == ''){
gs.addErrorMessage('Empty Field Values cannot be certified');
current.setAbortAction(true);
}
})(current, previous);
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke