Package ch.ivyteam.ivy.workflow
Enum Class CaseState
- All Implemented Interfaces:
ch.ivyteam.ivy.persistence.IPersistentEnumeration
,Serializable
,Comparable<CaseState>
,java.lang.constant.Constable
public enum CaseState
extends Enum<CaseState>
implements ch.ivyteam.ivy.persistence.IPersistentEnumeration
The state of the case
- Since:
- 17.05.2006
- API:
- This is a public API.
-
Enum Constant Summary
Enum ConstantDescriptionCreated means the Case has bean started and is currently in progress in its first Task.Destroyed means somebody destroyed the case, in order to stop any work on it.Done means all Tasks of the Case are done.Running means the Case is in progress.Cases inCREATED
which have no Task to work on them become Zombies.
-
Enum Constant Details
-
CREATED
Created means the Case has bean started and is currently in progress in its first Task. When the first task is finished, it becomes either
RUNNING
if it has other Tasks orDONE
if it had only this one Task. If the user does not finish the first Task (eg. Session Timeout) the Case becomes aZOMBIE
Database Value:
0
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
RUNNING
Running means the Case is in progress. The Case has at least one Task which is not yet finished.
Database Value:
1
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
DONE
Done means all Tasks of the Case are done. There is no work left for this case.
Database Value:
2
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
DESTROYED
Destroyed means somebody destroyed the case, in order to stop any work on it. A Case can be destroyed by calling the
ICase.destroy()
method, or by destroying all running tasks of the Case.Database Value:
3
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
ZOMBIE
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-