Quantcast
Channel: Ivanti User Community : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 15294

GetBusinessTime doesn't work

$
0
0

Hi,

 

I'm playing with calculations on incident process, and got proplem with GetBusinessTime.

As described here http://community.landesk.com/support/docs/DOC-8623 I'm trying to calculate time so:

- added atribute to Incident Business Object,

- set calculation to atribute as before save,

- edited some calculations...

 

but when using TimePeriod = Incident.GetBusinessTime(Incident.CreationDate, DateTime.UtcNow) always error pops up:

An error ocurred while attempting to preform the calculation. Please check calculation and ensure any default values are set for attibutes involved (OT: should not be: attributes?)

 

Framework log contains only successful calculations:


 

Calculation

Attribute Calculation Successful at 2012-11-30 14:59:01.959

Calculation successful for Attribute [_MinutesToBreach] on Class Type [IncidentManagement.Incident]

On Object : Key = [afa47e6b-fe4c-48e9-ae2f-8201b98dfc07]  Name = [42]

Calculated Value = []

INFORMATION

 

Checked that TimePeriod = Incident.CreationDate-DateTime.UtcNow returns proper value.


Any idea how to get proper Business Time?


Viewing all articles
Browse latest Browse all 15294

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>