Incident Classification, DateTime.Kind and Audithistory.ModifiedBy Changes

book

Article ID: 170868

calendar_today

Updated On:

Products

Workflow Solution ServiceDesk

Issue/Introduction

In Servicedesk and Workflow 8.1 RU5 and 8.1 RU6, a couple of new issues have been observed:

  1. Incident Classifications are not being stored in the database.
  2. Datetime.Kind errors are occuring during SLA component, ruleset functionality, occassionally on saving Incidents and creating tasks.
  3. Email addresses were being stored in the AuditHistory ModifiedBy column in the database, a field intended for user GUIDs.
[WorkflowTasks] Error adding task. 
Client: IP=xxx.xxx.xxx.xxx HostName=xxx.xxx.xxx.xxx Browser=Mozilla/4.0 
(compatible; MSIE 6.0; MS Web Services Client Protocol 4.0.30319.36415) 
System.ArgumentException: The conversion could not be completed because the supplied DateTime did not have the Kind property set correctly. For example, when the Kind property is DateTimeKind.Local, the source time zone must be TimeZoneInfo.Local. Parameter name: sourceTimeZone 
at System.TimeZoneInfo.ConvertTime(DateTime dateTime, TimeZoneInfo sourceTimeZone, TimeZoneInfo destinationTimeZone, TimeZoneInfoOptions flags, CachedData cachedData) 
at System.TimeZoneInfo.ConvertTime(DateTime dateTime, TimeZoneInfo sourceTimeZone, TimeZoneInfo destinationTimeZone) 
at LogicBase.Ensemble.Global.GetUTCDateTime(String sessionID, DateTime clientDateTime) 
at LogicBase.Ensemble.WorkflowTasks.ServiceCore.Task.ConvertDateTimeToUTC(String 
sessionID, Task& task) 
at LogicBase.Ensemble.WorkflowTasks.WorkflowTasks.AddTask(String sessionID, Task task, TaskResponse[] responses, TaskAssignment[] assignments, TaskAttributeValue[] values)

Cause

Product defect.

Environment

ServiceDesk 8.1 RU5 / Workflow 8.1 RU5 (build 8.1.5816.0)
ServiceDesk 8.1 RU6 / Workflow 8.1 RU6 (build 8.1.6030.0)
 

Resolution

Resolving these issues requires upgrading the Workflow Server on the affected server.

  • 8.1 RU5 - to build 8.1.5816.9 or newer
  • 8.1 RU6 - to build 8.1.6030.2 or newer

Workflow Rollups are available for download in the following KB article:
TECH249711: Workflow and Workflow Rollup Build Links

Download the Workflow Server installer executable and upgrade the existing environment.