tssivakumar1
Novice

Due Date in Task

Hello All,

I have a task in my workflow in which I use the Due Date functionality. But it does not seem to be working.

I have tried getting the Due Date as a DateTime, Date as well as a plain text through an SMO call, but, it does not work. In additon, I have also tried directly entering a fixed date, which as well results in an error which is recorded as follows in Management:

The added or subtracted value results in an un-representable DateTime.
Parameter name: value

I have attached screenshots from workflow and management for this. Please can you help?

Many thanks,

Regards,

Sivakumar


screenshot1_3698.png
screenshot2_3699.png
0 Kudos
Reply
1 Reply
ElvisJacob
Apprentice

Re: Due Date in Task

Hi Tssivakumar1


 


Converting days into hours is the way forward. (For example 1 day = 24 hours, 2 days = 48 hours and so on).


Also ensure that days, hours, minutes and seconds contain the correct values.


 


See the related post below and how the resolved the issue:


https://community.k2.com/t5/K2-blackpearl-Articles/Conditional-Escalation-Issue/ta-p/92205


 


https://www.codeproject.com/Questions/1178778/The-added-or-subtracted-value-results-in-an-un-rep


 


Regards


Elvis

0 Kudos
Reply