Skip to content

Commit

Permalink
Merge pull request #569 from navikt/einsteinsubject
Browse files Browse the repository at this point in the history
set subject to sto external name for einstein article recommendations
  • Loading branch information
EirikFladby authored Feb 13, 2024
2 parents a6cec5f + 8997d09 commit dc42c00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public with sharing class STO_RerunCreateTaskOrCaseOnFaultSchd implements Databa
query =
'SELECT ' +
'Id, ' +
'STO_ExternalName__c, ' +
'Name, ' +
'CRM_Account__c, ' +
'STO_Category__c, ' +
Expand Down Expand Up @@ -60,10 +61,7 @@ public with sharing class STO_RerunCreateTaskOrCaseOnFaultSchd implements Databa
];
if (!jobs.isEmpty()) {
returnValue.add(
'ERROR: job for thread ' +
String.valueOf(threads[0]) +
'already exist. State: ' +
jobs[0].State
'ERROR: job for thread ' + String.valueOf(threads[0]) + 'already exist. State: ' + jobs[0].State
);
return returnValue;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<name>Assign_Thread_Values_to_Case</name>
<label>Assign Thread Values to Case</label>
<locationX>176</locationX>
<locationY>278</locationY>
<locationY>242</locationY>
<assignmentItems>
<assignToReference>Case.Subject</assignToReference>
<operator>Assign</operator>
<value>
<elementReference>Thread.Name</elementReference>
<elementReference>Thread.STO_ExternalName__c</elementReference>
</value>
</assignmentItems>
<assignmentItems>
Expand Down Expand Up @@ -100,7 +100,7 @@
<name>Create_Application_Log</name>
<label>Create Application Log</label>
<locationX>440</locationX>
<locationY>518</locationY>
<locationY>458</locationY>
<inputAssignments>
<field>Application_Domain__c</field>
<value>
Expand Down Expand Up @@ -150,7 +150,7 @@
<name>Create_Case</name>
<label>Create Case</label>
<locationX>176</locationX>
<locationY>398</locationY>
<locationY>350</locationY>
<faultConnector>
<targetReference>Create_Application_Log</targetReference>
</faultConnector>
Expand All @@ -160,7 +160,7 @@
<name>STO_Case_Record_Type</name>
<label>STO Case Record Type</label>
<locationX>176</locationX>
<locationY>158</locationY>
<locationY>134</locationY>
<assignNullValuesIfNoRecordsFound>false</assignNullValuesIfNoRecordsFound>
<connector>
<targetReference>Assign_Thread_Values_to_Case</targetReference>
Expand Down

0 comments on commit dc42c00

Please sign in to comment.