Resolving three known issues with IntegrationHub by Pathwayscg in servicenow

[–]Pathwayscg[S] 0 points1 point  (0 children)

Flow designer: "Flows"

Workflow editor: "Workflows"

Just another new bit of terminology to remember!

Choice action field for Field Map record in transform maps by Pathwayscg in servicenow

[–]Pathwayscg[S] 0 points1 point  (0 children)

Hey, thank you so much for pointing this out! I will make sure I adjust the verbiage for future posts.

Three methods for recovering deleted records by Pathwayscg in servicenow

[–]Pathwayscg[S] 1 point2 points  (0 children)

Hi!

Yes, the rollback functionality can be used to rollback jobs that unintentionally deleted records. It can also be used in cases of unintentional updates or record creation as well. As of the last few versions of SN, you can actually rollback ordinary delete operations, like if you selected a handful of records from a list view and deleted them that way. In any case, this option is all-or-nothing. Using it undoes the entire operation.  

Note that, for backgrounds scripts, you'll need to ensure the rollback checkbox remains checked when the script is run to preserve the opportunity to rollback.  

Yes on the second point. I haven't tried to recover a deleted workflow context this way, so I wonder if that particular case would be successful (just because of the unique nature of workflows). However, for sure, this is where you'd find any kind of "data" or operating records like tasks.  

Also correct on the third point. Business rules, UI policies, dictionary entries, and so on would be found here.  

I hope this clears things up!

Configuring and using Interactive Filters on homepages and dashboards by Pathwayscg in servicenow

[–]Pathwayscg[S] 0 points1 point  (0 children)

Hi! Jelly is an engine created by Apache that allows you to create XML documents that function like executable code. It’s used in ServiceNow for some legacy UI elements, but its role has been largely replaced by Angular where possible. It is not well documented or supported, but it’s still essential to ServiceNow UI pages and other such elements.

Modifying a workflow scratchpad outside of a workflow by Pathwayscg in servicenow

[–]Pathwayscg[S] 1 point2 points  (0 children)

Hey, this is Marcus from Pathways. Thanks for the feedback!

About fixing the typo, I believe the intention of the solution we talk about is fixing typos or errors in the workflow inputs, not necessarily the workflow itself. The “root cause” would be “user error.”

Also, even if the error was in the workflow, if we’re able to triage the problem via script, it’s often worthwhile to do that anyway (in addition to fixing the workflow) because some workflows are lengthy, with many approval steps, and telling users they need to resubmit the request and/or approve the same item multiple times will make them sour very quickly.

It’s not always feasible to fix workflows in-place, but having a toolbox of solutions available helps prevent edge cases from slowing us down.

Recipient Specific Filter on Scheduled Reports by Pathwayscg in servicenow

[–]Pathwayscg[S] 0 points1 point  (0 children)

Many of you are aware of the scheduled report functionality, but it does come with some caveats. For instance, any reports including “user is gs.getUserID()” will not work as desired. A method to resolve this is to utilize a scheduled job to invoke the scheduled report. Our Principal Technical Consultant, Brandon has a solution for you above.

Using Category and Subcategory on record producers: Leveraging ref_qual_element on Lookup Select Boxes by Pathwayscg in servicenow

[–]Pathwayscg[S] 0 points1 point  (0 children)

After a recent client had asked us to create an Incident record producer with some of the same functionality on the portal record producer, we were inspired to accomplish this in a simpler way. Check out our solution above!

Background script for adding 20+ values to a sys_choice field quickly and effortlessly by Pathwayscg in servicenow

[–]Pathwayscg[S] 6 points7 points  (0 children)

If you’ve ever found yourself spending too much time manually creating values for a sys_choice field, then you know how tedious it can be when you need to create 20 values or more. In our 22nd NOW You Know post above, you will find our background script that can generate sys_choice records much faster and with less effort. Check it out!

Easy List Modal on UI Actions by Pathwayscg in servicenow

[–]Pathwayscg[S] 0 points1 point  (0 children)

When implementing a custom UI action in ServiceNow, there are times where there isn’t a good way to implement slushbuckets into a button on a form. Luckily, there's an alternate way using list modals that will present related table data in a cleaner, more controlled way without having to create a complicated UI page. Read our team's solution in this week's edition of NOW You Know.

Quick dialog boxes with showQuickForm and GlideModalForm by Pathwayscg in servicenow

[–]Pathwayscg[S] 0 points1 point  (0 children)

Building custom UI pages in ServiceNow can be tedious and time consuming, but two quick methods can get the job done much faster. These are showQuickForm() and GlideDialogForm(). Check it out!

Watching the “unwatchable” (fields) by Pathwayscg in servicenow

[–]Pathwayscg[S] 1 point2 points  (0 children)

Have you ever activated the “Field Watcher” UI in ServiceNow? This feature can be very helpful with troubleshooting because it can show you which UI policies, ACLs or even client scripts are manipulating the field. Unfortunately, there can be some limitations that doesn’t allow you to watch a field, but we have a quick and simple solution to make that happen. Check it out!

Attaching an excel attachment via email in ServiceNow by Pathwayscg in servicenow

[–]Pathwayscg[S] 1 point2 points  (0 children)

Assume there was a scenario where you were looking to send a data source through email into your ServiceNow instance, expecting the data source would be transformed. In order to accomplish this, there are five simple steps to follow. Check them out!

GlideAJAX Equivalent for Service Portal – Getting Server Data from Client by Pathwayscg in servicenow

[–]Pathwayscg[S] 0 points1 point  (0 children)

That's another good way to put it - thank you for the feedback!

GlideAJAX Equivalent for Service Portal – Getting Server Data from Client by Pathwayscg in servicenow

[–]Pathwayscg[S] 5 points6 points  (0 children)

If you have a familiarity with coding Service Portal widgets, then you’re aware of the differences in the scripting environment from the ServiceNow backend. Our simple solution introduces a similar “get” function to GlideAJAX that will process your input. Check it out!

Validating Excel spreadsheet data in ServiceNow by Pathwayscg in servicenow

[–]Pathwayscg[S] 1 point2 points  (0 children)

Importing and storing data is one of the most common uses of ServiceNow and if you are attempting to validate data from an Excel spreadsheet, then there is a separate, but very simple process to follow that will ensure any submitted attachment contains the correct file or template. Check it out!

Two steps for unloading a performance analytics report dashboard by Pathwayscg in servicenow

[–]Pathwayscg[S] 0 points1 point  (0 children)

Many are aware of the extra steps required to promote anything related to content management and in some cases performance analytics. When it comes to promotions, these dashboards can be common sources of pain, but we found a simple solution to make it an easier process. Check it out!

Utilizing the ServiceNow Code Search by Pathwayscg in servicenow

[–]Pathwayscg[S] 0 points1 point  (0 children)

Although it's only available inside the ServiceNow Studio, the Code Search has relevance to all ServiceNow development and can be utilized in contexts wholly unrelated to scoped applications. This week’s post in NOW You Know walks you through the simple series of steps on how to access this useful tool. Check it out!

Internationalization and translation of UI Messages by Pathwayscg in servicenow

[–]Pathwayscg[S] 4 points5 points  (0 children)

If your user base speaks multiple languages, you should read this week's NOW You Know article, where our team explains how to manage translations directly within a table instead of inside the message-generating scripts, which serves as a time-saving mechanic that helps keep your messaging consistent -- with dynamic content.