Getting error "unique key Violation error" when submitting an HR Case with source "email".


Description

The BR "Predict COE, Service after insert" is executing a script before insert on the record and making an update which is causing "Unique Key violation" on HR cases.

Steps to Reproduce

  1. Go to "sn_hr_core_case.do"
  2. Set source to "email"
  3. Fill in mandatory fields and submit

Behavior: Getting "unique key violation" error

Workaround

Please find below workarounds to choose from

Either:

Or


Related Problem: PRB1370699