Service Manager / Service Center Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

How to after interaction escalation directly open new related incident in foreground?

SOLVED
Go to Solution
Honored Contributor [Founder]

How to after interaction escalation directly open new related incident in foreground?

My customer wants after interaction escalation directly open new related incident in foreground.
How to do this?
2 REPLIES
Honored Contributor [Founder]

Re: How to after interaction escalation directly open new related incident in foreground?

Maybe there's an easier way to do this. If there is, I don't know of it. So, assuming you _have_ to do this, here's how I'd solve it:

In the Process "cc.screlate" add the following (after the existing RAD calls and expressions).

Pre-RAD:
$L.void=rtecall("rinit", $L.rc, $L.get.screlation, "screlation");$L.void=rtecall("select", $L.rc, $L.get.screlation, "source=\""+incident.id in $L.file+"\"")

$L.depend=depend.filename in $L.get.screlation;if ($L.depend="problem") then ($L.depend="probsummary")

$L.query="number=\""+depend in $L.get.screlation+"\""

RAD Application: se.search.engine
Condition: true ()
Parameter Names | Parameter Values
name | $L.depend
query | $L.query


So what this does is initialize the screlation table and pull back the first record with this Interaction as the source. (Since this is a new Interaction that has just been escalated, there should only be one record anyway). It then gets the value of the "depend.filename" field (which contains what table the related record was opened in) and value in the "depend" field (the record id for the related record).

Then it runs the se.search.engine Application, wich runs a query against the specified table and pulls back the related record.

Again, not sure if there's an easier way, but this way works.

Hope that helps.
Highlighted
Honored Contributor [Founder]

Re: How to after interaction escalation directly open new related incident in foreground?

thanx solved