Flow Designer and IntegrationHub

March 10, 2018 - Chennai Developer Meetup Dave Slusher / Developer Advocate / dave.slusher@servicenow.com / @DaveSlusherNOW

More Information and Free Developer Instances Available at developer.servicenow.com

Introduction

  • Dave Slusher
  • Developer Advocate for Platform
  • 20 Years as A Developer
  • Mostly as a Full-Stack Developer
  • 4+ Years ServiceNow
  • 2+ Years as Developer Advocate

Agenda

  • Quick Overview of the State of Developer Tools
  • Overview of Flow Designer
  • What/Why IntegrationHub?
  • Demo
  • Licensing
  • Q&A

Developer Tools Advances

  • Script Debugger
  • Automated Test Framework
  • Guided Tour Designer

Flow Designer

  • New in Kingston
  • Drag and Drop Builder for Logic
  • Familiar to Users of IFTTT and Zapier

Flow Designer

  • Sequences of Logic Built via Drag and Drop
  • Flows Consist Of:
    • One Trigger
    • Sequences of Actions and/or Logic
  • When Actions Reach Outside of Current Instance
  • IntegrationHub!!!

Flow Designer Triggers

  • As of Kingston, 2 Types:
  • Time Based
  • Record Based

Time Based

  • Run Once
  • Run on Schedule
    • Daily
    • Weekly
    • Monthly
    • Repeat

Record Based

  • Record Events:
    • Created
    • Updated
    • Created Or Updated
    • Deleted
  • Can Run on First Record Event
  • Can Run on Every Record Event

Flow Designer Lifecycle

  • Similar to Workflow
  • When Triggered by a Record
    • Record is Cached at Trigger Time
    • Updates to Record Do Not Affect Flow by Default
    • A Flow Action Must Explicitly Re-fetch Data for Changes

Flow Designer Actions

  • Grouped into Spokes (Scopes) by Vertical
  • ServiceNow Core Actions
  • Others Included on Baseline Instance
  • Can (and Will) Create Your Own Actions from Steps
  • Designed to Require Minimum of Configuration

Flow Designer Conditions

  • As of Kingston, 2 Types
    • Branching Logic (If)
    • Looping Logic (For Each)

Flow Designer Action Steps

  • Smaller Units of Functionality
  • Grouped Together To Form Actions
  • Perform Basic ServiceNow Functions Including Executing Script
  • Built Drag and Drop just Like Flows

Flow Creation

  • Has Similar Edit Cycle as Workflow
  • Edit or Create Actions Then Publish
  • Edit or Create Flows Then Activate
  • Already Running Flows Keep Original Context

Flow Designer Data Flow

  • Data can be Passed Action to Action
  • Data can be Passed Step to Steps
  • Action and Steps have Outputs
  • Using Data Pill Picker
  • Same as ATF

IntegrationHub

  • When a Flow Causes Actions Anywhere but Current Instance:
  • IntegrationHub
  • Flow Designer Can Be Used Without IntegrationHub
  • IntegrationHub Cannot Be Used Without Flow Designer

IntegrationHub

  • Pre-Built Integrations
    • Connect
    • Slack
    • HipChat
    • Microsoft Teams
    • VTB
    • eBonding

IntegrationHub

  • Can Create Your Own Integrations
  • Built via Action Steps
  • Using REST Step Types

Demo!

See it in action

When to Use Flow Designer or IntegrationHub?

  • Functionality is Available
  • Problem is Appropriate
  • Non-Developer SME Need to Maintain
  • ???

Licensing

  • Flow Designer has No Licensing
  • IntegrationHub Does Require Additional Licensing
  • REST Steps Require Licensing
  • Only Integration Scripts Require Licensing

There are wonderful things in here!

Let's build something impressive!

Questions?

More Information and Free Developer Instances Available at developer.servicenow.com

Thank You!