Processes API
The Processes API allows you to get information from the OutSystems data model to customize and extend the design of your Processes. With this API your can, for example, do the following:
-
Build Your Taskbox: Build your custom Taskbox to display the tasks to end users.
-
Extend the Data Model: Extend the OutSystems data model to better adapt Processes to your needs.
-
Build Process Reports: Build reports about your Process and KPIs (Key Performance Indicators) from the extracted information.
The information about your processes is obtained by querying System entities. As such, you must add references to those entities to your module, using the Manage Dependencies dialog box.
Entities Storing Definitions
The following entities have the definition of all elements related with Processes:
Process_Definition
: the Process definitionsProcess_Input_Definition
: the definition of all Input Parameters of a ProcessProcess_Output_Definition
: the definition of all Output Parameters of a ProcessProcess_Definition_Lang
: the translations for all translatable properties of a ProcessActivity_Definition
: the definition of all Activities of a ProcessActivity_Output_Definition
: the definition of all Output Parameters of an ActivityActivity_Def_Link
: the definition of connections between Activities
Entities Storing Runtime Data
The runtime data of all elements related with Processes is stored in the following entities:
Process
: the runtime data of all created Process instances – active and ended onesProcess_Input
: the runtime data of all Input Parameters of a Process instanceProcess_Output
: the runtime data of all Output Parameters of a Process instanceActivity
: the runtime data of all created Activity instances of a Process – pending, planned and closed ones. There are no created instances for future activities because activity instances are only created on demandActivity_Output
: the runtime data of all Output Parameters of an Activity.
Entities Storing Useful Codes
Some useful codes are stored in the following (static) entities:
Process_Status
: the possible statuses for a ProcessActivity_Kind
: the kind of ActivitiesActivity_Status
: the possible statuses for an Activity