Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Set fixed deadline on workorder

Highlighted
Påll Blaasvaer
Occasional Contributor

Set fixed deadline on workorder

I need to be able to set the deadline to a "fixed" value on new workorders.

We are using the mailfuntionality to send a mail to HPSD and a new SC is created with 2 WO`s, I would like to set the deadline on these 2 workorders to be 16.00 the next saturday.
Bare in mind it should not affect other workorders created in the system.
3 REPLIES
Michel SILVA SO
Occasional Visitor

Re: Set fixed deadline on workorder

Hi there,
have you tried to use the Templates for this?

Rgds,
Michel
Robert S. Falko
Honored Contributor

Re: Set fixed deadline on workorder

PÃ¥ll,

OVSD does not have the built-in logic that knows about days of the week and such things as "next Saturday". You can either develop this logic yourself and use the Web API and/or sd_event, or use an existing scheduling tool for the logic, and have it run sd_event.

-Josh
Påll Blaasvaer
Occasional Contributor

Re: Set fixed deadline on workorder

Thanks for your input, I will see if I can develop the logic then :-)
//Add this to "OnDomLoad" event