main
parent
6c0143d419
commit
22bac99689
|
|
@ -31,7 +31,7 @@ public class Approval {
|
|||
* @throws ARException If an error occurs during the update
|
||||
*/
|
||||
public String update(ApprovalUpdateRequest request) throws ARException {
|
||||
remedyJavaAPI.impersonateUser("btwien_test");
|
||||
remedyJavaAPI.impersonateUser("WuiQualityKV");
|
||||
String action = "APPROVAL";
|
||||
|
||||
var queryUpdate = new Query.QueryBuilder("ASF:CHG_CAL_Interactions")
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ public class Presets {
|
|||
.build();
|
||||
|
||||
this.presets = new ArrayList<>();
|
||||
api.impersonateUser("btwien_test");
|
||||
api.impersonateUser("WuiQualityKV");
|
||||
}
|
||||
|
||||
public Object initPresets() throws ARException, NotFoundError {
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ public class SupportGroup {
|
|||
*/
|
||||
public void querySupportGroups(RemedyJavaAPI api) throws ARException, NotFoundError {
|
||||
|
||||
api.impersonateUser("btwien_test");
|
||||
api.impersonateUser("WuiQualityKV");
|
||||
|
||||
applicationLogger.info("\n\n\nRequest: querySupportGroups (Initial)\nUser: " + api.getUser() + "\nAdmin? "
|
||||
+ (api.isAdministrator() ? "Yes" : "No"));
|
||||
|
|
@ -112,7 +112,7 @@ public class SupportGroup {
|
|||
* @throws ARException if an error occurs during the query
|
||||
*/
|
||||
public void queryUserSupportGroup(RemedyJavaAPI api) throws ARException {
|
||||
api.impersonateUser("btwien_test");
|
||||
api.impersonateUser("WuiQualityKV");
|
||||
|
||||
var querySupportGroups = new Query.QueryBuilder("CTM:Support Group Association")
|
||||
.addFieldId("SupportGroupId", 1000000079).build();
|
||||
|
|
|
|||
Loading…
Reference in New Issue