Auto Close Notification Policy will not pull GetDate() properly
Hello Everyone,
I was curious if anyone has encountered a similar issue using the external ID as method for the use of auto closing an incident. I use a query to pull a date into the external Id field for the waiting and resolved status. It will evaluate the if the status is ready to commit an edit to the incidents that match the query results. Up till last week this worked fine but just recently it failed and I have narrowed it down to the following error. Any help on this issue is greatly appreciated.
This query no longer works due to an error generated:
Error Generated: Conversion failed when converting datetime from character string.
SELECT
workitem_number AS 'Ticket_Number'
FROM
HD_workitem_current_view
WHERE
workitem_status_lookup_id in ('100','400')
andworkitem_external_reference not like ''
andworkitem_external_reference < Getdate()
The GetDate() function does not properly retrieve the current date
These are the incident rules to fire with the following configurations:
Incident Rule #1:
The Endpoint Management Community Blog is the perfect place to share short, timely insights including product tips, news and other information relevant to the Endpoint Management community. Any authenticated Connect member can contribute to this blog.
Comments 1 Comment • Jump to latest comment
Oscar H. Castañeda
Technical Solutions Consultant
XCEND Group Inc. -- Symantec Platinum Partner
Would you like to reply?
Login or Register to post your comment.