public interface ProcessInstance extends NamedElement, BaseElement
Modifier and Type | Method and Description |
---|---|
long |
getCallerId()
Get the identifier of the flow node instance who starts this process instance.
|
String |
getDescription()
Get the description of this process instance.
|
Date |
getEndDate()
Get the date when this process instance was finished.
|
Date |
getLastUpdate()
Get the date of the last update of this process instance.
|
long |
getProcessDefinitionId()
Get the identifier of the definition of this process.
|
long |
getRootProcessInstanceId()
Get the identifier of the root
ProcessInstance of this process instance. |
Date |
getStartDate()
Get the date when this process instance was started.
|
long |
getStartedBy()
Get the identifier of the user who started this process instance.
|
long |
getStartedByDelegate()
Deprecated.
since 6.3.0, use
getStartedBySubstitute() |
long |
getStartedBySubstitute()
Get the identifier of the substitute user (as Process manager or Administrator) who started this process
instance.
|
String |
getState()
Get the state of this process instance.
|
String |
getStringIndex1()
This field is used to extend the meta data of the process instance.
|
String |
getStringIndex2()
This field is used to extend the meta data of the process instance.
|
String |
getStringIndex3()
This field is used to extend the meta data of the process instance.
|
String |
getStringIndex4()
This field is used to extend the meta data of the process instance.
|
String |
getStringIndex5()
This field is used to extend the meta data of the process instance.
|
String |
getStringIndexLabel(int index)
The index must be between 1 and 5.
|
getName
getId
String getState()
ProcessInstanceState
Date getStartDate()
long getStartedBy()
long getStartedBySubstitute()
@Deprecated long getStartedByDelegate()
getStartedBySubstitute()
Date getEndDate()
Date getLastUpdate()
long getProcessDefinitionId()
BaseElement.getId()
String getDescription()
long getRootProcessInstanceId()
ProcessInstance
of this process instance.
Is -1 if this process instance is not a child of another process instance.BaseElement.getId()
,
ArchivedElement.getSourceObjectId()
long getCallerId()
BaseElement.getId()
,
BaseElement.getId()
String getStringIndex1()
getStringIndexLabel(int)
String getStringIndex2()
getStringIndexLabel(int)
String getStringIndex3()
getStringIndexLabel(int)
String getStringIndex4()
getStringIndexLabel(int)
String getStringIndex5()
getStringIndexLabel(int)
String getStringIndexLabel(int index)
index
- The index of the labelIndexOutOfBoundsException
- It's thrown if the parameter is not between 1 and 5.Copyright © 2020 Bonitasoft S.A. All rights reserved.