STWProcess Api
Properties
Functions
Cancels the given process. PS: If the process is scheduled it will be deleted as it was never created, otherwise it will be canceled and moved to the list of canceled processes.
Saves and completes the given process to the given recipients.
Creates a new process using the given template.
Deletes the given process list.
Creates a new copy of the given process. The copy will contain all values of the original process except signatures.
Exports process in PDF format to be forwarded as a file attachment.
Get the full list processes and matching the keyWord. This function should be called only from a coroutine or another suspend function
Get the full list processes and matching the keyWord.
Get the full list processes and matching the keyWord.
Call this method to retrieve participants groups in the given process and it should be called only from a coroutine or another suspend function
Gets the process having the given processUUID.
Gets the history of the given process. The history contains: 1-All process versions 2-Called processes started by current process 3-All escalation done
Gets the list of processes that belongs to the given tab and matching the keyWord.
Gets the list of processes that belongs to the given tab and matching the keyWord.
Gets the list of processes that belongs to the given tab and matching the keyWord.
Gets the list of participants in the given processes.
Gets the list of participants in the given processes.
Retrieve the list of Recipients for draft version or from last process using same template (process has no version(0)). if you pass a null process uuid, you can retrieve the list of recipients in first version for the last process created by the same template.
Call this method to retrieve single participants in the given process and it should be called only from a coroutine or another suspend function
Call this method to retrieve single participants in the given process as LiveData
Gets the count of unread versions for all processes.
Loads the ProcessForm for preview using the given template uuid.
Marks the given process list as read. This operation will be synchronized with other client Apps.
Open a process stack using the given process.
Requests to release the control on the given process.
Saves the given process locally and synchronises new values with other clients.
Stops the planed repetition of the given process
Saves and Submits the given process to the given recipients.
Requests to take the lead on the given process.
Inherited functions
Subscribes to the specific eventTypes of the client.
Subscribes to the specific eventTypes of the client, in the lifecycle of lifecycleOwner.
Subscribes to the specific eventTypes of the client with additional filter.
Subscribes to the specific eventTypes of the client with additional filter, in the lifecycle of lifecycleOwner.
Subscribes for the next event with the given eventType.