category added
This commit is contained in:
@@ -2008,7 +2008,7 @@ namespace C4IT.DataHistoryProvider
|
||||
LogEntry($"No initiating user found with state active (710) and AD Common Name: {ticketInfo.User}", LogLevels.Error);
|
||||
return null;
|
||||
}
|
||||
Guid? requestCategoryId = ticketInfo.CategoryId;
|
||||
Guid? requestCategoryId = ticketInfo.Category;
|
||||
if (requestCategoryId.HasValue && requestCategoryId.Value == Guid.Empty)
|
||||
{
|
||||
requestCategoryId = null;
|
||||
@@ -2215,9 +2215,9 @@ namespace C4IT.DataHistoryProvider
|
||||
ticket["SPSActivityClassIncident"]["Quickcall"] = ticketInfo.Quickcall.Value;
|
||||
}
|
||||
|
||||
if (ticketInfo.CategoryId.HasValue && ticketInfo.CategoryId.Value != Guid.Empty)
|
||||
if (ticketInfo.Category.HasValue && ticketInfo.Category.Value != Guid.Empty)
|
||||
{
|
||||
ticket["SPSActivityClassIncident"]["Category"] = ticketInfo.CategoryId.Value;
|
||||
ticket["SPSActivityClassIncident"]["Category"] = ticketInfo.Category.Value;
|
||||
}
|
||||
if (ticketInfo.AffectedService.HasValue && ticketInfo.AffectedService.Value == Guid.Empty)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user