copy the incident details to the request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 05:58 AM
I need to have UI Action to cancel the incident and to open new request with copy some information from the incident to the request form ex, requested for location ...etc
i wrote this ui action its cancel the request but not copying the requester info to the request form

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 12:16 PM
@f1507513 Add .toString(); in the right hand side expression of each line starting from line number 7 till line number 11.
Here is an example
var requested_for = current.requested_for.toString();
apply the similar change to all other lines starting from line 8 till line 12.
This should fix your issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 10:32 PM
still the information not copied to the form the requested for is reference variable and the other variable is reading from requested for