Java Code to create a Standard Change Ticket?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2017 01:49 PM
Hello Community,
I have a requirement where I have to create a standard change from a Java Program.
Can someone help me here?
Thanks,
Hemant

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2017 05:28 PM
Where do you want to write the Java Code?
If it is external, you may need to expose a web service from ServiceNow and Send request to that web service API from your Java Code with values you want to populate.
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2017 06:24 PM
HI Hemant,
The easiest way is going to be to use a REST API call. I recommend starting here.
Docs: Outbound REST web service
Docs: REST API Explorer
Docs: REST API
The REST API explorer will help you build the proper end points and headers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2019 09:17 AM
I am in the same situation. Do you have any sample code to create standard change through record producer from outside?