The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Update Approver through sd_event

Highlighted
Jha kunal
Super Collector

How to Update Approver through sd_event

Hi,
Can someone tell me how to update Approval Vote field through sd_event.
When i saw Import mapping i didn't found any relation of Approval Vote mapping with the particular Change Id.
When i am trying to update Approval tab through change Template i am able to Update only Description and Deadline and some more field but not Approval Vote Field.
Any suggestion will be appreciated.
2 REPLIES
The Pike
Honored Contributor

Re: How to Update Approver through sd_event

There's probably no functional ID tying the Approval record to the Change.

I haven't tested, but I'd give it a try using the Description field as the Primary key.

Points for the suggestion are welcome.

The Pike
Jha kunal
Super Collector

Re: How to Update Approver through sd_event

Hi Pike,
Sorry for late reply. No pike it will not work. If bychange it would had worked every people would had to give unique description which is again not advisible.
Do you have any more suggestion. Can this be done through Web Api. If yes first try to give me solution through sd_event and then by Web Api.
Any suggestion will be appreciated.
//Add this to "OnDomLoad" event