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

Problem Item Rule

SOLVED
Go to solution
Highlighted
marwa5_1
Regular Collector

Problem Item Rule

Hi,

How to create a rule where Problem Status set to Closed automatically when all related Work Orders status have been closed?

Thanks
6 REPLIES
Ruth Porter
Honored Contributor

Re: Problem Item Rule

Hi there,

On the problem set "wait for work order completion" to true.

Then as each WO completes have a DB rule which sets Problem;status to Closed. This will fail for all WOs except the last because of the setting of "wait for work order completion" to true.

Note if you are on version 4.5, when you create the DB rule update data action you will need to TYPE IN the text:

Problem;status

into the field name as it is not offered in the list of fields (it is offered in version 5)

Hope this helps, Ruth
http://www.teamultra.net
marwa5_1
Regular Collector

Re: Problem Item Rule

Hi Ruth,

I tried but it didn't work
On the problem I set "wait for work order completion" to true.

then here is the WO rule:

Before the item is saved
where NOT (Problem is empty)
Problem set to Closed (Update Data) Problem;Status set to Closed

Note: even when all WOs have been closed the problem closed status is not appear in the status list

Ruth Porter
Honored Contributor
Solution

Re: Problem Item Rule

Hi there,

When all WOsd are closed, can you close a problem record with "wait for WO completion" set to true through the client GUI?

If you cannot, you will need to ensure that WO status Closed state Closed.

If you can it is probably a timing problem, so try making the condition scheduled 2 minutes after registartion;modified to give the system a chance to save the WOs before you try and close the problem.

Hope this helps,Ruth

PS don't forget the poinst please!

http://www.teamultra.net
marwa5_1
Regular Collector

Re: Problem Item Rule

Hi Ruth,

I create this WO rule but also didn't work:

When work order is modified
where NOT (Problem is empty)
AND Registration;Created (*) is anything, Schedule the validation of this condition at 2 minutes After Registration;Created
AND Status (*) equals Closed
problem set to closed (Update Data) Problem;Status set to Closed

please advice
marwa5_1
Regular Collector

Re: Problem Item Rule

I want to clarify some points

When all WOsd are closed, I can't close the problem record with "wait for WO completion" = true although WO closed status is with closed state
marwa5_1
Regular Collector

Re: Problem Item Rule

thank you a lot Ruth it has been worked now
//Add this to "OnDomLoad" event