Update correlation_id and correlation_display field map scriptsWithin the Incident to Common Incident (Salesforce) table map, scroll down to the PSP Table Field Maps list. Then, update the scripts for the correlation_id and correlation_display source fields as follows: Source Field | Source Script |
---|
correlation_id | var pspC = new PerspectiumCorrelation(); var cgr = pspC.getCorrelationRecord(current, '', 'salesforce'); if (cgr.isValidField("u_correlation_id") && !cgr.u_correlation_id.nil()) { answer = cgr.u_correlation_id; } else { answer = ''; } | correlation_display | var pspC = new PerspectiumCorrelation(); var cgr = pspC.getCorrelationRecord(current, '', 'salesforce'); if (cgr.isValidField("u_correlation_display") && !cgr.u_correlation_display.nil()) { answer = cgr.u_correlation_display; } else { answer = ''; } |
|