Close Interaction and Incident Tickets from ESS (363 Views)
Reply
Super Advisor
bander
Posts: 479
Registered: ‎05-31-2009
Message 1 of 3 (363 Views)

Close Interaction and Incident Tickets from ESS

Hi,

 

We use HP Service Manager 9.3, we want to able our customers from close interaction ticket and with related incident when the customer press on "Accept Solution" button from ESS-SelfService- website.

 

In display options of the "Accept Solution" button we configured a script in "Pre RAD Expressions" tab that call Java Script to do the close feature, with the current script the close interaction ticket feature is working fine but close related incident ticket is not working.

 

 

I put in the below our code in "Pre RAD Expressions" at the Accept button :

------

 

$pmc.return.flag="lockok"

$L.lock.name=""

$G.ess.related=NULL;$G.ess.two=NULL

$updateok=jscall("PriorityCalc.updateIncidentStatus", incident.id in $L.file, "Solution Accepted")

 

------

 

And I put in attachment the java script which called by the "Pre RAD Expressions", and I add also a screen shot from "Accept Solution" Button in the display option.

 

 

I spend long time to fix this issue, your help is really appreciated.

 

Regards,

Honored Contributor
John Stagaman
Posts: 3,521
Registered: ‎07-13-2007
Message 2 of 3 (344 Views)

Re: Close Interaction and Incident Tickets from ESS

You cannot perform an action on an Incident under the credentials of a user logged in via self-service.

--The ESS license will prevent the update to the probsummary/incident ticket from occuring.

 

You should be able to use ioevents/ioactions to accomplish this goal, however, as those are executed by a system process. You would want to define an ioevent (Closure requested via ESS) which then would call an ioaction to complete closure of the related incident.

 

There is not good documentation on the ioevent/ioaction processes, but you can look at the out-of-box examples to model a solution.

----------------------------------------------------
Kudos - what, where, how, and why
Want Good Answers? Ask Good Questions...
Honored Contributor
Piku
Posts: 4,128
Registered: ‎06-17-2010
Message 3 of 3 (321 Views)

Re: Close Interaction and Incident Tickets from ESS

As John stated it is against ESS license to perform action on incidents.

Will not recommend but can alter by changing the display options conditions for the close/resolve button of Incidents DS.
Here in DO you will see the condition nullsub($G.ess, false)=false , so you have to remove it .

hth,
____________________________________
Assign Kudo, if found post useful and mark it accepted if solves the issue.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.