Previous Topic: Analysis Tasks Related to ProcessesNext Topic: Task


FUNCTION_DEF, PROCESS_DEF, and ACTIV_USAGE

A FUNCTION_DEF is a function definition. PROCESS_DEF is a process definition, and ACTIV_USAGE is activity usage of both functions and processes.

Each time an activity is used, it is within a parent (hierarchy). Each model has one root function. The next level activity (function or process) is within the root, and so on.

When an activity is created, a function definition or process definition is created. Each time an activity is used (that is, a usage of it is added in the AHD or ADD), a usage of that activity is created. Therefore, you can retrieve an activity and all its dependent activities. The following table details the ways to retrieve.

ACTIV_USAGE.PARENT_ACTIV_ID = PROCESS_DEF.ID
ACTIV_USAGE.CHILD_ACTIV_ID = PROCESS_DEF.ID