開源日報每天推薦一個 GitHub 優質開源項目和一篇精選英文科技或編程文章原文,堅持閱讀《開源日報》,保持每日學習的好習慣。
開源日報第1103期:JavaScript代碼風格指南:《JavaScript Style Guide》
2024年2月12日,開源日報第1103期:
今日推薦開源項目:《JavaScript Style Guide》
今日推薦英文原文:《More in Flow Designer, ServiceNow's Washington Release》


開源項目

今日推薦開源項目:《JavaScript Style Guide》傳送門:項目鏈接

推薦理由: Airbnb JavaScript 風格指南 ,例如types,References,Object,Arrays等等,對平時寫代碼 工程項目規範非常有意義

還有其他代碼風格

  • ES5 (Deprecated)
  • React
  • CSS-in-JavaScript
  • CSS & Sass
  • Ruby

    英文原文

今日推薦英文原文:More in Flow Designer, ServiceNow's Washington Release

推薦理由:這篇文章主要討論了當前雲原生領域存在的問題, 由於雲原生領域的快速發展和大量工具的湧現,工程師們感到困惑和不知所措。為了解決這個問題,文章提出了兩個解決方案:一是通過明確預期結果來減少困惑,二是通過研究和測試來選擇合適的工具。文章強調了明確預期結果的重要性,並提供了一些具體的建議和步驟。


More in Flow Designer, ServiceNow's Washington Release

Welcome back to our latest dive into the world of flows and the exciting upgrades that accompany the Washington release.
Over the past few days, I've delved deeper into more of these new features and enhancements, and let me tell you, it's been quite the fulfilling journey. Is there a term for falling head over heels in love with upgrades?? Because that's exactly how I feel!🥰♥️

From auto-saving in flows, to the integration of workflows and flow designer now seamlessly merged into one, plus, the cherry on top: the ability to leverage Gen AI in ServiceNow to assist in building flows, it』s like a dream come true! So let』s dive into more of these amazing functional upgrades within Flow Designer.🎬

One standout feature is the introduction of Try-Catch\ in flow diagramming. It』s a two-part illustration that allows you to try an action. For example, send a message/email to an application. Then it has an If condition, so if an error occurs (This is where error handling is taken to the next level!!) Log the error (catch block) then try again (using get back) within flow logic. ✨
**But, a word of caution: With great power comes great responsibility!!
While powerful tools like these offer incredible flexibility, it's essential to exercise caution and control loop iterations. ServiceNow provides safeguards, including a system property to set the maximum loop iterations, but vigilance is key.🔑

Another game-changer is the undo/redo option
🔁, which gives us better, safer editing.
When working on a particular flow, for example, If a trigger requirement has a condition error, there is an undo button that allows me to remove what I did. There』s also an auto-save now included in flow. Auto-save allows us to automatically save our flows in real time, and guess what? We can undo save if we, for some reason, save our flow accidentally.
With undo, we can also force save, which is an extra add-on button that allows us to forcefully save the flow.
For people like me who just like that sense of extra security when it comes to working on implementations in the platform, I』m definitely gonna be making use of the force save. 💪

🌟 Now, let』s get into my absolute favorite aspect of the Flow designer upgrades – the introduction of being able to build a flow with Now Assist Gen AI in ServiceNow. It』s an absolute game-changer! All you have to do is input a short description of what you』d like the flow to accomplish, and Now Assist will effortlessly generate a flow for you. It』s that seamless and easy! 😍😍
The description is sent to a ServiceNow training model. Yes, you heard that right – ServiceNow has a literal training model!! So, rest assured, our data remains within the platform. The training model then crafts a tailored flow based on your input.
Unfortunately, this feature isn't available on our PDI yet. You'll need to have now assist for creator enabled, and flow generator enabled to access it.

And lastly, let's not forget about the natural language support for conditions in flows. Whenever I input a condition, it provides a concise summary of what』s happening, enhancing clarity and ease of use. This feature is supported in both the default view and diagram view in flow designer. 📝🔍

Shout-out to ServiceNow for consistently delivering top-notch upgrades with each release. When they mean upgrade, they mean UPGRADE. With every new release, ServiceNow tries hard to improve performance enhancements. These enhancements not only benefit developers but also process owners, stakeholders, and anyone leveraging flows to automate processes on the platform.

So, what are you🫵🏾🫵🏾waiting for?? Dive into your PDI and experience these flow upgrades firsthand.
And always remember, #TheWorldWorksWithSERVICENOW.


下載開源日報APP:https://openingsource.org/2579/
加入我們:https://openingsource.org/about/join/
關注我們:https://openingsource.org/about/love/