Impacted services duplicate in change module

suresh m2
Tera Contributor

Hi Team,
As we have implemented when adding any CI in related list the refresh impacted services will triggered Automatically.
we add the affected CI in the change related list then associated impacted services will be  autopopluate in the impacted services related list .

We have written Business rule for trigger refresh impacted services added code your reference:

  var inc = new GlideRecord('change_request');
    inc.get(current.task.sys_id);
  gs.log('incsysid '+ inc.getValue('sys_id'));
 new TaskUtils().triggerRefreshImpactedServices(inc);
  })(current, previous);

 

Issue: if we add one ci  then associated  impacted service is working but when we are trying to add more than one ci in the affected ci related list then impacted services are trigger twice in the list.

 

can anyone help me with this configuration?

 

Thanks,

Suresh.

1 REPLY 1

Brijesh10
Tera Guru

any one knows answer for this?

i am facing same issue.