get Process List By Tab
suspend fun getProcessListByTab( context: Context, tab: Int, keyWord: String? = null): List<STWProcess>?
Content copied to clipboard
Gets the list of processes that belongs to the given tab and matching the keyWord.
Empty keyWord will return the full list of tab processes.
Return
The List of STWProcess.
See also
(Context, int, String)
[ProcessTab#IN_PROGRESS]: to get only in progress
processes
[ProcessTab#SUBMITTED]: to get only submitted
processes
[ProcessTab#COMPLETED]: to get only completed
processes
[ProcessTab#CANCELED]: to get only cancelled
processes
[ProcessTab#NEW]: to get only new processes
[ProcessTab#DRAFT]: to get only draft processes
Content copied to clipboard
Parameters
context
**Context** The application context.Content copied to clipboard
tab
**[ProcessTab]:** Process tab, must be one
of the following list:Content copied to clipboard
key Word
**String : ** to get only processes with name
containing this keyword,
put empty string to get all processes that belongs to given tab.Content copied to clipboard