Topic by Adam Darbyshire
Content
Hi Everyone,
I'm trying to make a custom process that will trigger on a new incident created based on the queue of the expired incident it replaces.
- If expired incident queue = x
- move new incident to queue x
I have some code at the moment but it is based on scraping the text 'Incident created due to reply to expired incident' out of the incident threads, which is far from ideal.
I saw someone at one point mention that there was a $incident->expired variable that could be used to access the old incident data however I can't for the life of me find that old link.
Does anyone know how to access expired incident data in custom processes without having to scrape text?
Cheers
Adam