I had a requirement to switch the access group from end user portal and map the work group accordingly, but during this development(I have save as the pega final rules to our application RSV) I’m facing the SECU0019 alert on top of harness. Please find the attachment, Why is the error produced and how can we resolve it?
The SECU0019 alert is typically triggered when an unregistered request is encountered. This can happen when an activity or other request is not properly registered in the system. In your case, it seems like the alert is being triggered when you’re trying to switch the access group and map the work group.
To resolve this issue, you might need to register the activities involved in this process. You can do this by adding the following code to your UserWorkForm rule:
Replace [YourActivityName] with the name of the activity you’re trying to register. If the issue persists after adding this registration to UserWorkForm, you might need to provide a screenshot of your registration attempt in UserWorkForm and verify that UserWorkForm is using JSP.
Another approach, although less recommended, is to change the pyShowSecureFeatureWarnings when rule to false to suppress the warning. However, this should be used with caution as it might hide other potential security issues.