30.01.2015 Views

Designing processes - EMC Community Network

Designing processes - EMC Community Network

Designing processes - EMC Community Network

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4<br />

Creating the Data Model<br />

This chapter discusses the following:<br />

• Understanding the data model<br />

• Selecting SDTs and package attributes for monitoring<br />

Understanding the data model<br />

The data model represents the data that is created or modified in a process. It is a key foundation for<br />

the solution. A flawed data model leads to rework, which consumes valuable time. Therefore, the data<br />

model must be established as early in the implementation phase as possible.<br />

Process data refers to the different types of data that flow through the process. Process data consists of:<br />

• Packages, which capture metadata associated with Documentum objects such as documents<br />

or folders.<br />

• Process variables, such as part numbers or customer addresses. Process variables can be simple<br />

data types (like String or Int) or structured data types (SDTs).<br />

• Process parameters, which enable administrators to modify and control all instances of a given<br />

workflow template.<br />

Process data can be used in transition conditions (where the next activity executing is dependent on the<br />

data values), conditional performers (in which the performer for a manual activity is selected based on<br />

a data value), and in creating service-specific messages (for instance, the creation of a SOAP message<br />

to invoke a web service). The process data model can contain transient data (modeled using process<br />

variables) as well as persistent data (modeled as packages). Define your data model early in the<br />

design process before you begin creating the process within Process Builder. Also consider the data<br />

requirements of the entire application, including the process, forms, and user interface (TaskSpace).<br />

Understanding process variables<br />

Process variables can be simple or complex. Simple process variables are based on a single attribute,<br />

such as String or Boolean. Complex process variables are based on an SDT, which is composed<br />

of a hierarchy of attributes.<br />

SDTs are composed of several attributes, organized in a hierarchical order. SDTs are used to group<br />

logically related business data. These can be created in Process Builder by importing XML schemas or<br />

by manually creating the type and then adding individual attributes to it. For example, elements of an<br />

appropriation request can be organized into the group Request with the attributes submitter_name,<br />

<strong>EMC</strong> Documentum xCelerated Composition Platform Version 1.6 Best Practices Guide 29

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!