30.01.2015 Views

Designing processes - EMC Community Network

Designing processes - EMC Community Network

Designing processes - EMC Community Network

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Creating the Data Model<br />

submitter_address, and equipment_type. Within each SDT, you can also organize attributes into related<br />

groups that give visual structure to the data type. For example, within the customer SDT, you can<br />

have an address group that contains the attributes for city and state.<br />

SDT definitions are global and can be used by any process. An SDT used by an installed process<br />

cannot be deleted nor should any of its attributes be modified or deleted. However, it is possible<br />

to add new attributes to an SDT that is in use.<br />

Process variables store transient data; that is, data that is not needed after the workflow terminates.<br />

Typically, this data is fetched from a non-Documentum system of record (another database, for<br />

example) or is used for an internal calculation. The Process Engine manages the lifecycle of a<br />

process instantiating the process variables when the workflow is started and destroying them when the<br />

workflow terminates.<br />

Creating an SDT for each object in your workflow can help to simplify your data model. However,<br />

you should organize your SDTs in a logical manner, corresponding to business entities. If you have<br />

too many SDTs, you can end up with performance problems with the TaskSpace task list. If that<br />

occurs, then you need to consolidate the SDTs.<br />

Understanding packages<br />

A package is associated with a Documentum object, such as documents or image files, which is<br />

passed between activities in an executing process.<br />

To act on a document in any way, it must be attached to the process as a package or it must be held in a<br />

case folder. When documents are held in a case folder, you can attach the folder as a package, but<br />

you may want to consider attaching other key documents as separate packages. This enables users to<br />

act on the documents separately, so that you can perform operations such as conducting conditional<br />

routing based on the package metadata itself.<br />

Package data is persistent. However, package data is not shown in TaskSpace task lists or task forms.<br />

To enable package attributes to appear in TaskSpace, you first map the attributes to process variables by<br />

using a Process Data Mapping activity template. After you map these attributes to process variables,<br />

you can base decisions on the package attributes, such as transitioning to the next activity. Conversely,<br />

process variables are not persistent and must be mapped so that you can base decisions on the package<br />

attributes, such as routing the process to the next activity back to package attributes if you want the<br />

data to persist beyond the life of the process.<br />

Package attributes versus SDTs<br />

During the design phase, decide when you will be using packages and when you will be using process<br />

variables. The decision is important and is a key part of successful design and implementation:<br />

• If the customer wants to store and search data in the task list template, use SDTs.<br />

• If the customer wants to persist data beyond the process instance, use package attributes.<br />

• If you want both, you must initially use SDTs and then map them to package attributes at the end<br />

of the process.<br />

Some additional considerations include:<br />

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

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

Saved successfully!

Ooh no, something went wrong!