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: 

Adding Actual start field in service pages

Highlighted
Deepali S
Acclaimed Contributor

Adding Actual start field in service pages

I want to add ActualStart field in service pages.
When call status is changed to Progress Actual start will be system date.
how can i do this?
4 REPLIES
Deepali S
Acclaimed Contributor

Re: Adding Actual start field in service pages

Hi All,

No one has any suggestion for this??????
Need help.
Mark O'Loughlin
Honored Contributor

Re: Adding Actual start field in service pages

Hi,

is this required for service calls? You need to modify some .jsp files to show the field and a DB rule to set the date as required. UI rules won't fire on Service pages.

The 2 files that you need to edit are (from memory)
createservicecall.jsp
vieweditservicecall.jsp

Someone with .jsp knowledge should be able to do this easy enough.
Saurabh Dubey
Honored Contributor

Re: Adding Actual start field in service pages

Hi Deepali,

As Mark said, you need to edit the JSP code for your requirement.

If you want the Actual Start to be updated automatically to the system date, you can put a DB/UI Rule for the same based on the Status change.

In this case, you will not want the field to be editable, hence you can avoid making the change to CreateServiceCall.jsp. Just edit the ViewEditServiceCall.jsp to get this done.

You can refer to the web-api guide for this purpose. You can also check out the following thread for reference:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1007619

I used it for 64k field, the actual start field has a direct method available in the IServiceCall class.

Hope this helps...

Regards,

Saurabh
Modesty is good!! But remember, all your life other people will try and take your achievements away from you, don't make it easy for them.
Deepali S
Acclaimed Contributor

Re: Adding Actual start field in service pages

now i have actual start field in vieweditservicecall.jsp.
but how do i save it ?
//Add this to "OnDomLoad" event