Essentials of Automations: Optimizing FME Workflows with Parameters

SafeSoftware 498 views 58 slides Sep 18, 2024
Slide 1
Slide 1 of 58
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
Slide 52
52
Slide 53
53
Slide 54
54
Slide 55
55
Slide 56
56
Slide 57
57
Slide 58
58

About This Presentation

Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.

Join us for an insightful dive into the world of FME parameters, a critical element...


Slide Content

Essentials of Automations:
Optimizing FME Workflows
with Parameters

Evie
Lapalme

Technical Support Specialist
Safe Software
Natalie
Clouthier

Technical Support Specialist,
FME Form
Safe Software
Matt
Meeboer

Technical Support Specialist,
FME Flow
Safe Software

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


Audio issues? Click this for 4 simple
troubleshooting steps.

Agenda
1Understanding Parameters in FME
2FME Form
3FME Flow
4Parameters Best Practices
5Conclusion
6Resources & Next Steps
7Q&A
Agenda

1
Understanding
Parameters
in FME

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

A Webinar on
Parameters?

Parameters are Valuable!


An improved application of parameters will:
●improve workflow outputs
●improve the user experience
●improve workspace maintenance

Parameters are Everywhere!

Parameters are Everywhere!

Parameters are Everywhere!

Parameters are Everywhere!



…or at least anywhere information can be entered or
selected somehow
●by the author
●by the user
●via reference to some other parameter

Parameter Categories Across
the FME Platform

Parameter Categories Across
the FME Platform



●Reader/Writer
●Feature type
●Transformer
●Custom transformer


●Workspace
●FME
○FME Flow
●User
●Deployment

Parameter Categories Across
the FME Platform



●Reader/Writer
●Feature type
●Transformer
●Custom transformer


●Workspace
●FME
○FME Flow
●User
●Deployment

Reader / Writer Parameters



Reference: Reader and Writer Parameters

Feature Type Parameters



Reference: About Reader Feature Type Parameters

Transformer Parameters



Reference: Transformer Parameters

Custom Transformer Parameters



Reference: Custom Transformer Parameters

Workspace Parameters



Reference: Workspace Parameters

FME Parameters



Reference: FME Parameters

2
FME Form

User
Parameters
Choices &
Conditional
Visibility

Goal Block Key Result
Want the user to
be able to have a
choice

User Parameters
Ability to prompt
the user for input

User
Parameters!

User is able to
have an impact
on the outcome

User Parameter Types
●Most common: Choice

○Dropdown

○List

User Parameter Configuration
●Value:Display Pairs
○Value: what is being performed on in
the workspace
○Display: what appears to the user
●Import From Dataset
○Helpful when there are multiple
choices to configure.

Conditional Visibility
●control when parameters are exposed at runtime
●allows irrelevant parameters to be disabled/hidden depending on
the value of another user parameter.
●helps reduce translation errors by preventing the input of incorrect
parameter values at runtime.

Demo

Key Points
●User Parameters allow for user input to
your workspace
●Conditional Visibility allows you to have
parameters depend on each other

Resources
Published Parameters in FME Form
Working With Conditionally Visible Published User Parameters

Which types of
parameters do you
currently use?

3
FME Flow

FME Flow Parameters
●Helpful for authoring your workspace for
FME Flow
●Reference parts of FME Flow system
when the translation is run on FME Flow

FME FORM
FME FLOW

User Parameters on
FME Flow
●Select an area of interest
●Drag and drop files
●Generate rich user experiences for those
who consume the workspaces you author

Deployment Parameters
●Parameters that can be different across
FME Flow instances
●One parameter name = many values

Extract Data
for an Area

Slide Title
Allow a non-FME
user to interact
with a
workspace to
extract data
Goal Block Key
Extract Data for an Area
Result
User has no
knowledge of
geojson and
want to simply
draw their area of
interest on a
map
Geometry User
Parameter with
an FME Flow
App
Easy to use,
no-code app

Demo

Key Points
●User parameters render differently in
FME Flow
●The Geometry Parameter allows users to
draw geometry on a map in FME Flow
●User parameters let you build rich web
user experiences with no code

File
Submission

Goal Block Key Result
Slide Title
Allow non-FME
user to upload
their file and
have it go to the
correct
destination DB
Goal Block Key
File Submission
Result
File submission?
Schema
Validation file
location?
Database
environment?
File User
Parameter,
FME Flow
Parameter,
Deployment
Parameter
Easy to use,
no-code app

Demo

Key Points
●File/Folder user parameters allow users
to submit files to a workflow through drag
and drop
●FME Flow parameters let you author your
workflow for FME Flow
●Make FME Workspaces easier to deploy
to different environments with
Deployment Parameters

4
Parameters
Best Practices

Parameter Type is Key

●Every parameter in FME has an
underlying type
○Choice, Text, Script, Url, etc

●Type must match between user
parameter and its target parameter(s)

●Create user parameters from the target
object’s Parameters dialog / Parameter
Editor
○Type match by default


Reference: FME Parameter Types

Simplify your parameter use
●Make use of Conditional Visibility
○Keep the runtime Parameter Prompt
looking clean
○Reduce errors by unnecessary input

●Use the Import from Dataset feature
○Keep the values consistent with your
dataset
○Reduce confusion from the users

Leverage Deployment Parameters
ok nice very nice!

5
Conclusion

Summary
●Parameter application and management
are both important
○poor instructions → poor results

●Use parameters effectively
○simplify the user experience
○limit the potential for errors
○improve workflow maintainability
○increase workflow security
○make workflows easier to deploy

●Avoid the defaults temptation

4
Resources

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

5
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: 77QH7K

Join the Community today!
Next Steps

8
Q&A

Thank You
Recap of Next Steps

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

Please fill out our
webinar survey