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

Ui rule for Change approve

Highlighted
ONGC_HPOV
Occasional Advisor

Ui rule for Change approve

Hi
Can anyone tell me how to write ui rule for
If approvers are approved change then status should get changed to approved automatically

Thanks in advance
1 REPLY
Mark O'Loughlin
Honored Contributor

Re: Ui rule for Change approve

Rule 1
Copy the approval result to a custom text field
Shadow Approval Result
Data Update
When change is created or modified
where Status equals To be approvedORApprovedORDeclined
Shadow Approval Status (Update Data) Approval Result set to [Approval Result]

Rule 2 fires off the result entered into the above text field
Approved Status Set via Approval Result
Data Update When change is created or modified
where Approval Result (*) is (exactly) Approved Appoved Status Set via Approval Result (Update Data) Status set to Approved

Also have a look here. Thare are a lot of threads on the subject

http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1033456&admit=109447627+1198843387857+28353475
//Add this to "OnDomLoad" event