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

Update Cis from workorder only in certain case

Highlighted
John E Brown
Acclaimed Contributor

Update Cis from workorder only in certain case

I'm just starting to play with updating Cis when a workorder reaches a certain status in HPOV SD 4.5. Our workorders have a closure code e.g. Implemented, Approved, Rejected or Rollback. I would like the CI only to be updated when the closure code is Implemented or Approved and not for the other closure codes. Any obvious/easy way to do this?
1 REPLY
Mike Bush
Honored Contributor

Re: Update Cis from workorder only in certain case

Only just spotted this - sorry. Since the update fires only on the STATUS of the WO you have to reflect the Closure Codes back into STATUS and have two "Closed Success" and "Closed Failure" one of which can fire the update.
//Add this to "OnDomLoad" event