Create Request from Incident

Vasilis Anastas
Tera Expert

Hello, 
I want to create Request from an Incident. There is by default, a UI action with name Create Request, which navigates you to the service catalog and you can submit a request and automatically the caller of the incident set as the Requested For user for the request. I want to find how is this happen, because I want to add more fields from incident to the new Request.

Any ideas?

6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Vasilis Anastas 

 

You need to modified / add the logic to copy other fields from Inc to Req in UI action. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Vasilis Anastas
Tera Expert

Hi @Dr Atul G- LNG , 
thank you for your response. Yes I will try to do this but do you know where caller of incident auto  sets in requested for field ? I mean in which script? I cant find it.

 Hi @Vasilis Anastas 

 

I think it is defined somewhere at property level. @AshishKM any thoughts

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

subhadeep1618
Tera Guru

@Vasilis Anastas 

Firstly, are you doing this in a live project environment or your PDI environment?
Asking, because in most live environments, this UI action is disabled.

 

Secondly, the easiest and safest solution here is to create your own service catalog, add whatever fields/variables you want as per the Incident form.

Then write a script to create a new service request for this service catalog - and copy any field that you want from incident to the request item.

 


Please mark this post as a solution and also as helpful, if this resolves your issue or query.

Thanks,
Subhadeep Ghosh.