Incident Communication Plans also should have assignment group

manikanta ravel
Tera Contributor

I have one  requirement. For P1 incidents created with assignmet group 'ABC' - then Incident Communication Plans also should have assignment group as 'ABC' How can i achieve this?

3 ACCEPTED SOLUTIONS

Nilesh Pol
Tera Guru

@manikanta ravel You can simply achieve this requirement with help of After Business rule on incident table by gliding a Incident Communication Plan( incident_alert) table.

Did got stuck in the script?, let us know.

View solution in original post

Shree_G
Kilo Sage

@manikanta ravel :

 

Below Async business rule will help achieve this.

 

Shree_G_0-1746509694369.png

 

Shree_G_1-1746509720187.png

	var assignGroup = current.assignment_group;

	var glideCommPlan = new GlideRecord('incident_alert');
	glideCommPlan.addQuery('source_incident',assignGroup);
	glideCommPlan.query();
	if(glideCommPlan.next()){
		glideCommPlan.setValue('assignment_group',assignment_group);
		glideCommPlan.update();
	}

 

 

 


If this solution helped resolve your issue, please consider marking it as helpful or correct.
This will assist others in finding the solution faster and close the thread.

View solution in original post

Robert H
Mega Sage

Hello @manikanta ravel ,

 

Please create a Business Rule as shown below. No scripting required.

 

RobertH_2-1746514380674.png

RobertH_5-1746514629737.png

RobertH_3-1746514418260.png

 

Regards,

Robert

 

View solution in original post

3 REPLIES 3

Nilesh Pol
Tera Guru

@manikanta ravel You can simply achieve this requirement with help of After Business rule on incident table by gliding a Incident Communication Plan( incident_alert) table.

Did got stuck in the script?, let us know.

Shree_G
Kilo Sage

@manikanta ravel :

 

Below Async business rule will help achieve this.

 

Shree_G_0-1746509694369.png

 

Shree_G_1-1746509720187.png

	var assignGroup = current.assignment_group;

	var glideCommPlan = new GlideRecord('incident_alert');
	glideCommPlan.addQuery('source_incident',assignGroup);
	glideCommPlan.query();
	if(glideCommPlan.next()){
		glideCommPlan.setValue('assignment_group',assignment_group);
		glideCommPlan.update();
	}

 

 

 


If this solution helped resolve your issue, please consider marking it as helpful or correct.
This will assist others in finding the solution faster and close the thread.

Robert H
Mega Sage

Hello @manikanta ravel ,

 

Please create a Business Rule as shown below. No scripting required.

 

RobertH_2-1746514380674.png

RobertH_5-1746514629737.png

RobertH_3-1746514418260.png

 

Regards,

Robert