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

4b0d3
Giga Guru

I don't know if there's an oob ui action for it but yes, you can develop that ability.  Use all the same oob  stuff to view the incident, add a widget with the button to do the action and redirect.  send to a form page, allow to save as draft originally, and allow them to edit while in draft, before submit.

Community Alums
Not applicable

@Community Alums can you please share an example of redirecting to record producer and passing parameters

Syed Multhazim1
Tera Contributor

Hi @Alon Grod,
You can create a copy incident button and pass the values as parameters to your create incident record producer page using location function in client side script. Then you need to clone your record producer widget and modify in such a way that, if there are parameters in the URL, then fetch them and set values in the corresponding fields.

Thank you.