Is it possible to create 2 incident tasks when an incident is raised?

snow_beginner
Mega Guru

Hi,

 

I have story requirement for a record producer (rp). When you submit this rp in the portal an incident is created. Some fields on the incident like state, priority, assignment group etc get auto-populated. This is done via creating a template and setting those values for those fields and then sticking that template in the rp variables. At the moment when you submit this rp and incident is cerated and it has 1 incident task which is type=vendor and company=abc. This is also being done in the template in the 'Next Related Child Template' field. 

 

The requirement is that they want another incident task to be created when this rp is submitted where type=internal and assignment group = it.csw.xxx

 

Is it possible to so that? To have 2 incident tasks created? Can someone please guide me on how that can be done especially through a template.

 

Many thanks

 

 

1 ACCEPTED SOLUTION

Shubham_Shinde
Giga Guru

Hello @snow_beginner 

You can try creating the Incident Task using Script option present in What it will contain section of your record producer. Here you can write a script to create the required incident task record(s).

For ex:

ShubhamShinde1_0-1676020664631.png

 

If my answer has helped with your question, please mark it as helpful and give a thumbs up!

Regards,
Shubham

View solution in original post

2 REPLIES 2

Shubham_Shinde
Giga Guru

Hello @snow_beginner 

You can try creating the Incident Task using Script option present in What it will contain section of your record producer. Here you can write a script to create the required incident task record(s).

For ex:

ShubhamShinde1_0-1676020664631.png

 

If my answer has helped with your question, please mark it as helpful and give a thumbs up!

Regards,
Shubham

Thank you, that has worked!