Mozart.ProcessService (Mozart v1.0.1)
This modeule provides a set of services for working with BPM processes.
Summary
Functions
Add a note to process state.
Completes a user task.
Update a process note.
Get active process instances
Gets a BPM Application
Gets the names of all BPM applications
Returns the state of the completed process corresponding to the process engine's uid
Returns the data accumulated by the completed process
Retrieves a process model by name.
Get notes from process state of task.
Returns the user tasks that can be completed by users belonging to one of the input group.
Callback implementation for GenServer.handle_continue/2
.
Loads a BPM Application
Loads a single process model in the repository.
Loads a list of process model into the state of the ProcessService.
Update a process note.
Functions
add_process_note(user_task_id, author_id, note_text)
Add a note to process state.
complete_user_task(user_task_uid, data)
Completes a user task.
delete_process_note(user_task_id, note)
Update a process note.
get_active_processes()
Get active process instances
get_bpm_application(app_name)
Gets a BPM Application
get_bpm_applications()
Gets the names of all BPM applications
get_completed_process(uid)
Returns the state of the completed process corresponding to the process engine's uid
get_completed_process_data(uid)
Returns the data accumulated by the completed process
get_process_model(process)
Retrieves a process model by name.
get_process_notes(user_task_id)
Get notes from process state of task.
get_user_tasks_for_group(group)
Returns the user tasks that can be completed by users belonging to one of the input group.
handle_continue(atom, state)
Callback implementation for GenServer.handle_continue/2
.
load_bpm_applications(bpm_applications)
Loads a BPM Application
load_process_model(model)
Loads a single process model in the repository.
load_process_models(models)
Loads a list of process model into the state of the ProcessService.
update_process_note(user_task_id, note)
Update a process note.