Copy Incident Functionality

Alon Grod
Tera Expert

Is there any way to replicate the Copy Incident OOB Functionality to the portal? The user will be able to go inside of his incident in the portal and he can click copy incident, then he will be redirected to the 'Create Incident' Record Producer with all the fields populated automatically based on the current incident that he came from. He will be able to adjust some of the field's values and then click Submit. 

6 REPLIES 6

@Syed Multhazim1 can you please share an example of redirecting to record producer and passing parameters

Amit Gujarathi
Giga Sage
Giga Sage

HI @Alon Grod ,

Hope you are doing great.

Yes, this functionality can be replicated in the portal using client scripts and Service Portal macros. You would need to create a custom macro that can retrieve the values from the incident record and pre-populate them in the Create Incident record producer. This macro can be added to the incident record page in the portal and the user can click on it to copy the incident.

You would also need to create a client script to handle the submission of the Create Incident record producer when the user clicks the submit button. This script can be triggered

 

Regards,

Amit Gujarathi


Was this answer helpful?


Please consider marking it correct or helpful.


Your feedback helps us improve!


Thank you!


Regards,


Amit Gujrathi