- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2020 12:35 AM
Hi All,
Can anyone provide step by step information, how to create as Incident from one instance in other instance through UI action.
Please help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2020 12:46 AM
Hi Navya,
Step1:Create a POST Rest Message which will create an incident from instance A on instance B.
Step2: Create an UI action call the REST message via this UI action script. for simplicity we have a option for each rest message "view Script Usage". You will get the code to call the REST message.Paste into the UI action.
For step 1, I have added an attachment.
For Step2, Create an UI action that will call the script message in the UI action script.
Thanks
Sudhanshu

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2020 12:42 AM
Hi,
1) You need REST API
2) you need user from other instance with itil access.
3) you need to create UI action and call the script include and that script include should call the REST API to create incident.
See this:
https://www.youtube.com/watch?v=nJntVpVYpqs
https://www.youtube.com/watch?v=4hBpkX5XJcA
https://www.youtube.com/watch?v=WNECVZH3NGE
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2020 12:46 AM
Hi Navya,
Step1:Create a POST Rest Message which will create an incident from instance A on instance B.
Step2: Create an UI action call the REST message via this UI action script. for simplicity we have a option for each rest message "view Script Usage". You will get the code to call the REST message.Paste into the UI action.
For step 1, I have added an attachment.
For Step2, Create an UI action that will call the script message in the UI action script.
Thanks
Sudhanshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2020 07:22 AM
I have followed the steps you mentioned and I could copy the fields Short description, description, assignment grp except caller.
Can you help on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2020 09:37 AM
Hi Navyaa,
Most of the time it happens because if I pass user_name of the user in the POST REST message, then we need to understand that it is a reference field(caller). It is showing the display value as caller id the actual value we need to pass in the REST message is the sys_id of that caller which should also exist on the target instance as well.
Hope it helps!
If need more assistance then you can share screenshots.
Thanks
Sudhanshu