Assignment rule script and matching rules are executed with the user session id instead of the system session in CSM Customer Portal casesDescriptionCSM Customer Portal created cases are not assigned evenly to the expected group members. The assignment rule script and matching rules are getting executed with the user session ID instead of the system session. causing users to not have permission to read all the group cases.Steps to Reproduce 1. Impersonate an end user2. Go to the CSM portal /csm3. Click Get Help to submit a case4. Check the Auto assignment when the case is submittedThe case gets assigned to the wrong assignee, based on the Matching Rule and Assignee Rule Script, instead of assigning to the user ranked n.1 in the workbench list.5. Impersonate Administrator6. Create a new case7. Choose the company Ability West Ltd8. Choose a contact9. Submit CaseThe case gets assigned to the right assignee, ranked n.1 in the workbench list, based on the Matching Rule and Assignee Rule Script.WorkaroundMatching rules that match based on Selection Criteria are created to be used inside Assignment Workbench, but not in assignment rules. Creation of assignment rules from such matching rules has been blocked since Orlando. Instances with created assignment rules from such matching rules prior to Orlando will be affected. In these circumstances, matching rules that match based on Selection Criteria can not be used in Assignment rules. The workaround can be to create a scripted Matching rule according to requirements and use that inside the Assignment rule.Related Problem: PRB1510016