Module 9
Module 9
Tuan Truong
AND AUTOMATION
CONTENT
Process specification
Decision analysis techniques
Process automation
PROCESS SPECIFICATION
PROCESS SPECIFICATIONS
Sometimes called minispecs
Created for primitive processes as well as for some higher-level processes on a data flow diagram
Created for class methods in object-oriented design and for the steps in a use case
Goals of Producing Process Specifications
• Reduce process ambiguity
• Obtain a precise description of what is accomplished
• Validate the system design
Not Created for
• Processes that represent physical input and/or output
• Processes that represent simple data validation
• Processes that use prewritten code
HOW PROCESS SPECIFICATIONS RELATE TO THE
DATA FLOW DIAGRAM
PROCESS SPECIFICATION FORMAT INFORMATION (1 OF 2)
• Determine if an item is available for sale. If it is not available, create a backordered item record. Determine the quantity available
• Batch
• Online
Require screen design or web pages
• Manual
Should have well-defined procedures for employees performing the process tasks
• This should state policy and business rules, not computer language pseudo-code
• Business rules are the procedures that allow a corporation to run its business
• If there is not enough room for a complete structured English description include a reference to the structured English description, decision table, or tree
depicting the logic
SELECTING A
STRUCTURED Use decision tables when a complex combination of
DECISION Use conditions, actions, and rules are found or you require a
method that effectively avoids impossible situations,
redundancies, and contradictions
ANALYSIS
TECHNIQUE Use decision trees when the sequence of conditions and
Use actions is critical or when not every condition is relevant
to every action (the branches are different)
MINI PROJECT 2 – STAGE 4
Draw a complete process specification of the process
Complete its decision table & decision tree
PROCESS AUTOMATION
PREPARING DATA
Design your process data in excel or googlesheet in two ways:
Create a local data using excel
Use cloud service: googlesheet
CONNECT PROCESS DATA TO APPSHEET
Two ways to connect process data to
appsheet:
Directly in googlesheet
Create an apps and connect data
USING DATA IN THE APPS
In Data > Columns, you’ll see a list
of each column you have in your
table listed in a field. By either
clicking on the pencil to the left of
each field, you can adjust settings
for how the app will interact with
your data. Here’s two examples of
the settings you can adjust here:
Type lets you specify what type of
data is in that column. For
example, if you have an “Email”
column in your data, you need to
make sure that column type is set
to Email.
Show lets you select whether or
not this data will be displayed in
your app (some data you may
want to keep hidden)
DESIGN YOUR APPS
Left-side menu editor
CREATE BOT FOR AUTOMATION
Three components of a bot:
An event is something that
happens that triggers your
bot to run.
A task is the action you
want to happen when your
event occurs, such as “Send
an email” You can have
multiple tasks for one
event.
A process allows you to
combine your tasks into
steps and customize how
you want them to occur
with conditional logic. create bots such as sending an email, SMS, or notification,
updating data in other tables, or creating and saving reports.
DEPLOY AND SHARING APPS
Go to the Users tab, and
in the Users section type
the email addresses for
the people you want to
share your app with.
Go
to Manage>Deploy>De
ployment Check and
click “Run Deployment
Check.”
APPSHEET FUNCTION LIST
Function List
Building automation
Limitation
Scalable to large
dataset
EXERCISE 9.1
Create an apps using Appsheet with your miniproject database (in exercise 8.3)