I’m going to take a new approach to writing this before I make a blog about it. Read along the good and bad of working off of ServiceNow.
I like the automation I make for work. I wanted to have that at home. I work on ServiceNow for my day job. It’s amazing.
ServiceNow is not something everyone can afford. It’s cost is high and so is it’s value. But when your talking about a small company or individual it’s just not viable from it’s cost.
Enter then the now experience and GraphQL. I had to learn it and this new JSX thing that is totally not “React”. I followed along with what was available for ServiceNow’s docs but these concepts were not sticking.
At some point @AndrewAlburyDor told me about this @redwoodjs project. I don’t recall a whole lot about it other then it is new and seemed like it was all about the JAMStack. I was interested.
It’s great. It has lots of concepts that I didn’t know were around. It has deploy targets to free places to test stuff out at. But what made this magic was the ease it was to get a GraphQL connected database up. (Thanks to @prisma ).
Great. So that was just getting started. Let’s get into the details. ServiceNow the platform is called many things. But at it’s most fundamental parts it’s lists, forms and automation.
Well with redwood I have lists and forms and automation.
ServiceNow gives you a database. You can add columns to it remove then. Empty the table out. Great. All that is done in GUI. With prisma you have to define your tables and columns in a file, have it generate the SQL and migrate that to your database. It sounds harder then it is.
Once migrated if your schema change isn’t careful prisma will ask if you want to wipe the affected table of data. (Imagine making a field required that wasn’t before). These SQL things are still unclear to me but they are not something you deal with in ServiceNow
Once migrated your great. You have access to this new column. Great. Now let’s make a table. So we get the data and it’s in JSON. JSON that you formed in GraphQL. Making a table that has sorting, searching, pagination is all manual.
I really just want full-text search and that does exist However it’s not supported on all prisma supported dbs, and it’s also not going to necessarily get related information.
Sorting seems simple enough but you have to tell the server to refetch the data if you exceed the current page.
Pagination is interesting. ServiceNow just added a feature so you don’t need to show the link record count of a table. I can see why you need to do a aggregate on the table to get that result with the same query your running. That can be expensive as in it takes time to run.
That all being said you can make an action to represent anything. Wanna show a list in a cell. No problem. Wanna show a count of relations in a row. No problem. It just takes time to figure out the how.
Forms. I’m still figuring these out. Forms are complicated. You might want to show a related records name and not the stored (sys)id of the record. This is where I am still learning. Oh yea. Then properly setting the data types on submission. Wanna know why booleans in …
ServiceNow are strings? Probably because nearly everything is a string. Otherwise you’d have to be more specific about your types.
Okay now automation. In ServiceNow you have at its core Business Rules, Event queues and flows. In other systems you have middle ware and queuing solutions. Understanding what objects are available before or after a database operation has really opened my eyes.
I see how ServiceNow doesn’t have CRUD rules on all operations. read != readAll. You can hide a whole columns data if you have access to that kind of data at the server.
In ServiceNow the closest thing to this I can find is ACLs which evaluates on every row or display rules (only applies to read)
Oh yea. Then there’s performance. Right now news.Jace.pro is slow. I know why and I know a way to make it faster but it’s at a cost of complexity.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Jace Benson 👨‍💻⚙️

Jace Benson 👨‍💻⚙️ Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(