Essentials of Automations: The Art of Triggers and Actions in FME

SafeSoftware 524 views 51 slides Jun 06, 2024
Slide 1
Slide 1 of 51
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50
Slide 51
51

About This Presentation

In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions availab...


Slide Content

Essentials of Automations:
The Art of Triggers and
Actions in FME

Kezia
Yu

Technical Support Specialist,
FME Flow
Bailey
Knapp

Technical Support Specialist,
FME Flow

Welcome to Livestorm.
A few ways to engage with us during the webinar:


Audio issues? Click this for 4 simple
troubleshooting steps.

What is your experience
with FME Flow?

Agenda
1What are Automations
2Understanding Triggers and Actions in FME
3Adapting Existing Workspaces for Enhanced
Automation
4Transitioning to Automations from
FMEFlowJobSubmitter
5Next Steps & Resources
6Q&A
Agenda

1
What are
Automations?

Streamline your data workflows &
ensure efficient, real-time data across
various systems and platforms with
FME Flow Automations.

Triggers & Actions in Automation enable:
●Increased Efficiency
●Improved Accuracy
●Greater Control
●Scalability
The Importance of Triggers &
Actions in Automation
FME Flow 2024.1

Common Challenges with Triggers & Actions
●Resources: Lack of time or manpower to explore and implement advanced features.
●Knowledge Gaps: Insufficient training or expertise in maximizing the potential of FME for
specific use cases.
●Suboptimal Workflows: Existing processes are not fully optimized, leading to
inefficiencies and potential data issues.

Transform your FME
workspaces into powerhouses
of productivity with the art of
triggers and actions!

Automation Webinar
Series
●May 29: Optimizing FME
Workflows with Parameters
●Today! The Art of Triggers and
Actions in FME
●June 19: Exploring Attributes &
Automation Parameters

One platform, two technologies
FME Form FME Flow
Build and run data workflows Automate data workflows

FME Flow Hosted
Safe Software managed instance
fme.safe.com/platform
FME Enterprise Integration Platform
Safe & FME

2
Understanding
Triggers and
Actions in FME

Triggers
Listen for and receive messages from external clients
or from within FME Flow

FTPS and FTPES
Dropbox
Manual Trigger
Azure Event
Grid
JMS
UDP
HTTP Request WebSocket
FTP
System Event
SQS/SNS
SMTP
and
IMAP
SQS/SNS
Topic
Schedule
S3 Bucket
Resource
or Network
Directory
Triggers
Webhook

Complete workflow tasks at
specific times in the future


Monitors activity on a
Resources folder or other
location, and sends
messages about that activity


Receives JSON and other
data in the body of an HTTP
request message

Common Triggers
Schedule Directory Watch Webhooks
Check out our webinar Event to Action: Accelerate Your Decision
Making with Real-Time Automation for more!
●Automated data
synchronization
●Periodic report
generation
●Automatic data updates
from watched folders



●Updating data from
survey submissions
●IoT sensor response to
create an alert

Internal Actions
Process messages between triggers and external
actions, either in an FME workspace, or through
another tool

Run a Workspace
Merge Messages
Run a Dynamic
Workspace
Log a Message
Filter Messages
Internal Actions

External Actions
Send messages to external clients or inside FME Flow

Notifications
●Sends out messages containing key
information from previous actions in the
automation
●Can include information on the data
processed or job completion status
●Some allow attachments
Types of External Actions
File Upload
●Receives messages from previous
automation actions and sends out files to
external applications
●Able to define file path and name that is
uploaded

Dropbox
Azure Event
Grid
JMS
HTTP Request
WebSocket
FTP
SMTP SQS/SNS
Topic
S3 Bucket
External Actions
SFTP

●Make data accessible by delivering data and analytics
insights to clients’ preferred cloud data storage
locations
●Send alerts on job completion status that data upload
processes are halted if validation is failed
●When a citizen submits an application online, the data
is processed and a summary email with relevant files
is automatically sent out

Applications of External Actions
Common External Actions

Slide Title
Automatically
extract and
process data

Goal Block Key
Directory Watch Notification
Result
Manual effort to
extract specific
information and
send email

Leverage
Resource
Directory Watch
trigger and Email
external action

Data is
automatically
extracted,
processed, and
email sent

Demo

●Taking workflows to the next level is easy
with automations click and drop interface
●Automations offer a wide variety of
triggers and actions to suit most needs
●Even simple automations save
organizations valuable time and effort


Key Takeaways
Directory Watch Notification Demo

3
Adapting Existing
Workspaces for
Enhanced
Automation

Adapting Existing Workspaces
with Automations Writer

Messages & data are passed between Automation components
●Key-Value pairs hold
information about an event
or a user-defined value.
●Parameters can intake
attributes, allowing for
Actions to be run with
upstream values.
●Automation attributes are
based on JSON formatting

Webinar: Essentials of Automations:
Exploring Attributes & Automation
Parameters
Parameters and attributes are
available for each trigger
and action
Ex: User Parameters created in FME
Workbench become Parameters inside
the “Run a Workspace” Action.
Start drawing connections between ports
to use incoming attributes inside an
actionʼs parameters

Routing Data between Workspaces
●Implement enterprise integration patterns
●Send data from within a workspace to other Automation Actions
●Build workspaces to run data-driven parallel processing
●Merge data from other systems

Slide Title
Enrich data that is
sent to other
systems in the
middle of an
automation

Goal Block Key
Downstream Processing
Result
Data is inside
FME Workspace

Use FMEFlow
Automations
Writer

This enables data
to be passed both
into and out of
workspaces that
are in
Automations.

Demo

●Automation attributes can pass
messages and data between automation
components
●Automations writer can be used to create
output ports to the workspace action
nodes and bring data out for further
downstream processing


Key Takeaways

4
Transitioning to
Automations from
FMEFlowJobSubmitter
Workflows

How often do you use
FMEFlowJobSubmitter
in your workflows?

Job Chaining & Downstream Processing


FMEFlowJobSubmitter FME Flow Automations
●More Complex: configuring &
maintenance
●Results in workflows that
have more moving pieces
and seperate

●Easy to use: build, scale,
troubleshoot .
●Have workflow in one visual
view/interface
●Easy to share and document

Slide Title
Splitting out
Actions in
Automations

Goal Block Key
Enhance Workflow with Automations
Result
Using FME Flow
Transformers

Automations Job
Chaining

Workflow that is
easy to build,
maintain, and
scale

Demo

●Split jobs and pass data between actions
using Automations writer.
●Build out Automations by chaining jobs in
sequence or in parallel, replacing the
FMEFlowJobSubmitter.


Key Takeaways

FME Flow Transformers
●Deprecation in 2024.1
○FMEFlowResourceConnector
○FMEFlowLogFileRetriever
○FMEFlowJobWaiter
●Alternatives:
○FME Flow Rest API V4
○FME Flow Automations

Chat Storm:
Which triggers or actions
are you most likely to
use?

Achieve
efficient, scalable,
automated
workflows with
FME Flow

5
Resources

Resources to Get Started
●Routing Data Between Workspaces in
Automations
●Dynamic workspace Chaining in FME
Flow Automations

Get our Ebook
Spatial Data for the
Enterprise

fme.ly/gzc


Guided learning
experiences at your
fingertips
academy.safe.com


FME Academy
Resources
Check out how-to’s &
demos in the knowledge
base
support.safe.com
Knowledge Base Webinars
Upcoming &
on-demand webinars

safe.com/webinars

Check out
our podcasts
on-demand.
featuring special guest
speakers over at EM360

Resources

6
Next Steps

We’d love to help you get
started.
Get in touch with us at
[email protected]
Experience the
FME Accelerator
Contact Us
A world where data is not just a
commodity but a catalyst for
real change.
fme.safe.com/accelerator



Next Steps

Claim Your Community Badge &
Dive into the new Community!
●Get community badges for watching
webinars
●community.safe.com
●Today’s code: 7W90ZQ

Join the Community today!
Next Steps

7
Q&A

Thank You
Recap of Next Steps

1Join the FME Community
2Contact us
3Experience the FME Accelerator

Please fill out our
webinar survey
Tags