# Class R.p.process(CatalogPathAware, Folder):

Part of Reportek.process View In Hierarchy

A process is a collection of activities and transitions. The process map is given by the linking of activities by transitions. Each process instance is described by a instance

Line # | Kind | Name | Docs
--- | --- | --- | ---
36 | Method | __init__ | Undocumented
69 | Method | _topsort | Undocumented
113 | Method | listActivitiesSorted | This is a method to sort the activities topologically
132 | Method | edit | changes the process settings
154 | Method | addActivity | adds the activity and eventually sets the process begin and end activity
189 | Method | addTransition | adds a transition
196 | Method | manage_delObjects | override default method to handle better the redirection

def __init__(self, id, title, description, BeginEnd, priority, begin, end):
Undocumented
def _topsort(self, pairlist):
Undocumented
def listActivitiesSorted(self):
This is a method to sort the activities topologically Only those that have transitions Beware of loops Just for fun

def edit(self, begin=None, end=None, title=None, description=None, priority=None, REQUEST=None):
changes the process settings

def addActivity(self, id, split_mode='and', join_mode='and', self_assignable=1, start_mode=0, finish_mode=0, subflow='', push_application='', application='', title='', parameters='', description='', kind='standard', complete_automatically=1, REQUEST=None):
adds the activity and eventually sets the process begin and end activity

def addTransition(self, id, From, To, condition=None, description='', REQUEST=None):
adds a transition

def manage_delObjects(self, ids=, REQUEST=None):
override default method to handle better the redirection