Re: When IM is 'closed' status then related SD should be in Resolved' status. (529 Views)
Reply
Regular Advisor
Posts: 107
Registered: ‎02-25-2013
Message 1 of 6 (565 Views)
Accepted Solution

When IM is 'closed' status then related SD should be in Resolved' status.

Hi Experts,

 

Here is the requirement that when incident ticket closed then related interaction ticket should go to resolved status not to closed status.

 

Please help me on the same on urgent basis.

 

Thanks in Advance

 

 

Regards,

Nandu

Honored Contributor
Posts: 5,899
Registered: ‎11-10-2008
Message 2 of 6 (542 Views)

Re: When IM is 'closed' status then related SD should be in Resolved' status.

Hello,

there is not such status for the Interaction like Resolved.

 

You can add your custom field in Interaction which you will set to resolved.

Regular Advisor
Posts: 107
Registered: ‎02-25-2013
Message 3 of 6 (535 Views)

Re: When IM is 'closed' status then related SD should be in Resolved' status.

Dear Vadim,

 

I have added the 'Resolved' in Status for interaction.Currently I am using SM 9.30 version.

 

Please suggest me on the same.

 

Thanks and Regards,

Nandu

Highlighted
Respected Contributor
Posts: 373
Registered: ‎10-11-2011
Message 4 of 6 (529 Views)

Re: When IM is 'closed' status then related SD should be in Resolved' status.

Hi Nandu..,

 

try this in probsummary after update trigger

 

if (record.problem_status == "Closed" && oldrecord.problem_status != "Closed")
{

var sd = new SCFile("incidents")
var rel = new SCFile("screlation")
var findrel = rel.doSelect("depend=\""+record.number+"\"")
      if(findrel==RC_SUCCESS)
      {
     
      var findrel1=sd.doSelect("incident.id=\""+rel.source+"\"")
      if (findrel1 == RC_SUCCESS)
      {

sd.open="Resolved"

sd.doUpdate();
      }
      }
}

--
Say " Cheers! " by clicking Kudos Star on the left .
Frequent Advisor
Posts: 53
Registered: ‎12-27-2011
Message 5 of 6 (98 Views)

Re: When IM is 'closed' status then related SD should be in Resolved' status.

Hi Praveen,

 

this SOlution will work only Incident relate one interaction.

 

But I want to resolve Multiple interaction which is related to Incident.

 

Please suggest me on the same.

 

 

Regrads,

Nagaraja B Sagar

Occasional Visitor
Posts: 1
Registered: ‎12-09-2014
Message 6 of 6 (88 Views)

Re: When IM is 'closed' status then related SD should be in Resolved' status.

Hi,

 

To resolve  multiple  interactions, please use while do loop  in the same script to run again n again until all the records get updated as resolved status.

 

 

Regards,

Gowri


nagarajabsagar wrote:

Hi Praveen,

 

this SOlution will work only Incident relate one interaction.

 

But I want to resolve Multiple interaction which is related to Incident.

 

Please suggest me on the same.

 

 

Regrads,

Nagaraja B Sagar


 

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.