This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
devel:documentation:workflows [2018/03/22 15:27]
stloukalp ↷ Links adapted because of a move operation
devel:documentation:workflows [2019/02/11 14:08] (current)
kotisovam corrections, a new admin guide page
Line 1: Line 1:
 +<- .:​application_configuration | Application configuration ^ .:start | Documentation ^ .:​confidential_storage | Confidential storage agenda ->
 +====== Workflows ======
 +Workflow in CzechIdM is typically used to represent a process involving identities, e.g. the "​Enable contract"​ process. Workflow is a piece of code that
 +  * services some process (business process, identity lifecycle process etc...)
 +  * can generate and manage [[.:​user_tasks|User tasks]]
 +  * is usually started by [[.:​scheduled_task| Scheduled tasks]] or an application event, typically [[.:​synchronization| Synchronization]].
 +  * is stateful
 +===== Diagram =====
 +The best way to describe any given workflow is its diagram.
 +{{ :​devel:​adm:​workflow_example.png?​800 |}}
 +When a workflow process is in progress, the red line symbolizes the path through the workflow states.
 +===== Import and versioning=====
 +CzechIdM uses several standard workflows. Of course, these can be replaced - e.g. with an upgraded version. Also, new workflows can be imported. To facilitate workflow management, CzechIdM supports a **drag & drop** feature on its GUI.
 +If a workflow is imported to CzechIdm which had already been present in the application,​ the version number is increased by 1. If a new version of workflow has been uploaded, and an old workflow has some instances running, these finish their runs in accord with the original version of the workflow. From then on, new instances of the workflow are run with the uploaded (new) definition.
 +===== Definition in a file =====
 +Workflow definition is kept in a file which is of the XML format. You can find standard workflows in [[https://​github.com/​bcvsolutions/​CzechIdMng/​tree/​develop/​Realization/​backend/​core/​core-impl/​src/​main/​resources/​eu/​bcvsolutions/​idm/​workflow | source files]]. Workflow definitions are loaded from files every time the application is started.
 +====== Read more ======
 +===== Admin guide =====
 +  * [[.workflow:​adm:​processes| Workflow overview]]
 +  * [[tutorial:​adm:​user_tasks#​workflow_history| Workflow history example]]
 +===== Devel guide =====
 +  * [[.workflows:​dev:​workflow-hr-processes| Workflows implementation]]