How-To Build a custom application step by step
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2007 08:44 AM
NOTE: I need to uload and link the images for this article. It is going to take some time. bare with me.
First: None of this would have been possible without the help of the service-now team members. Thanks for pushing me in the right direction! More then once.
This is a great case study on how to create your own custom application in service-now.com from start to finish. The techniques discussed in this article are used across the board to create new applications. We are currently on our 5th custom application and have proceeded through each one just like this.
Creating the new tables for the new application
First you need to create 2 new tables. Go to Tables & Columns to create the new table space. We called ours RMA because it is a replacement for our current Return Merchandise Authorization process. The second table is called Equipment Requests. Let me first explain the differences. The RMA table will be used for the movement of equipment that is already in place and needs repair or is being retired or moved from its current location. The Equipment Request application is used for the initial movement of a new piece of equipment. (i.e. We have a new piece of equipment that has been ordered and received. Now it needs to go to its new home.)
You need to go to System definition and then click the link for Tables & Columns

Place the information in the appropriate boxes at the bottom of the form.
Label = The name that will appear at the top of lists.
Table name = The actual table name. Follow the naming convention of the other tables
Extends base table = you can extend a table that has already been created sharing the characteristics it has in common with other tables or you can start a table from scratch by selecting none. We selected task as the new table would need to interact with the task table much like incident, problem, and change do.
Create new application = This is where you decide if you want a new application to appear in the navigation pain and you also decide on the name you want to give the application.
Create new module = This is where you decide where you want a new module to be located. It defaults to — The New One — Meaning it will create the new module in the new application you have specified above.
Create the new RMA table.

Label: RMA
Table name: rma
Extends base table: task
Create new application: Yes named Asset Movement Mgmt
Create new module: Yes in application — The New One —
Click Do It! YOU CAN NOT UNDO A TABLE ONCE YOU HAVE CREATED IT!!!
Hit F5 to refresh the screen.
When you create the second table you want to uncheck the "create new application" box as it will have already been created from the first table you created.
Repeat process for the second application.

Label: Equipment Request
Table name: equip_request
Extends base table: task
Create new application: NO and no name
Create new module: Yes in application Asset Movement Mgmt.
After you have created the 2 applications you should end up with something that looks like this in the navigation pain on the left.

And the applications will look like this. An almost blank slate that we will have to improve upon to reach the final result.
Rreferance:
Wiki that explains the creation of a new table.
http://wiki.service-now.com/index.php?title=How_to_create_your_own_tables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2007 03:19 PM
Jeff, thanks for posting this content. Love it! 😄
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2007 10:58 AM
I just wish I could get time to finish linking all the images.
An update for everyone. This application went live today and required 2 minor adjustments. In the BCF RMA change receive date, and BCF RMA change ship date scripts I was setting the value of operational_status, and instal_satus. The original code worked great if you were an admin. If you were not an admin and did not have privileges to the fields then the value it displayed was UNDEFINED. It was setting the value in the DB but displayed the Undefined value. I had to set the value AND the display value. I have fixed the scripts that I posted. Enjoy
Thanks for the comments everyone. I had to create the document for BCF so I figured why not share it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2007 08:46 AM
I finally got all the images linked up. The free image service I use is running really slow right now so I just put them up as links and not inserted as images. Hopefully it will speed up or it will be grueling if you want to see all the pics. I guess that is what you get for free.
Just a quick update. The application has been live for about 2 months now and has replaced our old RMA system completely. Everything has been working great. But now that I said that I am sure something will go drastically wrong. :eek:
Enjoy and I am sorry if the images load slowly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2007 04:25 PM
Great detail Jeff! Thanks for the follow up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2007 10:50 AM
Thanks for sharing this! 🙂
