Process Specifications • Process specifications are created for primitive processes and some higher level processes on a data flow diagram. • They are also called minispecs.
Goal of Creating Process Specifications The goals of producing process specifications are: • Reduce process ambiguity. • Obtain a precise description of what is accomplished. • Validate the system design, including data flow diagrams and the data dictionary.
Process Specifications Process specifications are not created for: • Physical input and/or output processes. • Processes that represent simple data validation. • Processes for which prewritten code already exists.
Process Specification Format • Process specifications link the process to the DFD and the data dictionary. • The following information should be entered: • The process number, which must match the process ID on the data flow diagram. • This allows an analyst to work or review any process and easily locate the data flow diagram containing the process.
Process Specification Format (Continued) • The process name, the same as displays within the process symbol on the DFD. • A brief description of what the process accomplishes. • A list of input and output data flow, using the names found on the data flow diagram. • Data names used in the formulae or logic should match the data dictionary, for consistency and good communication.
Process Specification Format (Continued) • An indication of the type of process, whether it is batch, online, or manual. • All online processes require screen designs. • All manual processes should have well-defined procedures for employees performing the process tasks. • If the process has prewritten code for it, include the name of the subprogram or function.
Process Specification Format (Continued) • A description of the process logic. • This should state policy and business rules, not computer language pseudocode. • A reference to further information, such as a structured English description, a decision table, or tree depicting the logic. • List any unresolved issues. • These issues form the basis of the questions used for a follow-up interview.
Business Rules Business rules include the following: • Definitions of business terms • Business conditions and actions • Data integrity constraints • Mathematical and functional derivations • Logical inferences • Processing sequences • Relationships among facts about the business
Process Specification Example Part 2 Output Data Flow Pending Order to data store D3, Order File Backordered Item Record to the Inventory Control Department Updated Customer and Item records
Advantages of Structured English • Clarifying the logic and relationships found in human languages • An effective communication tool, and easy to teach and understand
Decision Tables • Decision tables provide a way to examine, describe, and document decisions using a table. • They are used to: • Describe the conditions. • Identify possible decision alternatives. • Indicate actions should be performed. • Describe actions.
Decision Trees • Decision trees are used when complex branching occurs in a structured decision process. • Trees are also useful when it is essential to keep a string of decisions in a particular sequence.
Decision Tree Advantages Three advantages over a decision table are: • The order of checking conditions and executing actions is immediately noticeable. • Second, conditions and actions of decision trees are found on some branches but not on others. • Third, compared to decision tables, decision trees are more readily understood by others in the organization.
Selecting a Structured Decision Analysis Technique Guidelines are as follows: • Use structured English when there are many repetitious actions or when communication to end users is important. • Use decision tables when complex combination of conditions, actions, and rules are found or you require a method that effectively avoids impossible situations, redundancies, and contradictions.
Selecting a Structured Decision Analysis Technique
Guidelines are as follows (continued):
• Use decision trees when the sequence of conditions and actions is critical or when not every condition is relevant to every action (the branches are different).