Re: Escalation from SD to IM in 9.32 PDP (284 Views)
Reply
Advisor
omarelalfy
Posts: 30
Registered: ‎10-31-2011
Message 1 of 3 (313 Views)

Escalation from SD to IM in 9.32 PDP

Dears,

 

when escalating an interaction to incident the assignment group gets populated with the business service's config. admin group and no the affected CI .. And idea how to change this behavior?

 

Thanks a lot.

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

Re: Escalation from SD to IM in 9.32 PDP

[ Edited ]

It's called from the screlate.incident.problem link record link line detail expressions (this record determines what fields are copied to the Incident from the Interaction at escalation):

assignment in $L.related=jscall("sdUtil.popCIAssignment", $L.primary)

 

function popCIAssignment(interaction)
{
var assignment = null;
if(interaction.category=="incident")
{
var device = new SCFile("device");
var sql = "logical.name=\""+interaction['affected.item']+"\"";
device.doSelect( sql );
assignment= device.assignment;
}
else
{
assignment = vars['$lo.home.assignment']; 
}
//validate the assignment
if (assignment!=null)
{
var fAssignment= new SCFile("assignment");
var RC = fAssignment.doSelect("name=\""+assignment+"\"");
if (RC!=RC_SUCCESS)
{
assignment=null;
}
}
return assignment;
}

 You could call a different tailored function from the link record or modify the script directly so that if Configuration Item is specified, it uses the ConfigAdminGroup from that CI instead of from the Service. 

----------------------------------------------------
Kudos - what, where, how, and why
Want Good Answers? Ask Good Questions...
Advisor
omarelalfy
Posts: 30
Registered: ‎10-31-2011
Message 3 of 3 (262 Views)

Re: Escalation from SD to IM in 9.32 PDP

OK can you please help me with modifying the script

?

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.