public interface ScriptTaskBeanContext extends ProcessExecutionContext
ScriptTaskBean
execution.
Contrary to ScriptTaskContext
, this interface does not extend DataContext
(access is limited so as to ensure reusability in various contexts).
ProcessExecutionContext.WorkflowPermission
Modifier and Type | Method and Description |
---|---|
void |
registerDataSpaceToCloseOnProcessInstanceTermination(BranchKey aBranchKey)
Registers a dataspace that should be closed at process instance termination.
|
void |
registerDataSpaceToDeleteOnProcessInstanceTermination(BranchKey aBranchKey)
Registers a dataspace the should be deleted at process instance termination.
|
createMailSpec, getProcessInstanceDescription, getProcessInstanceLabel, modifyProcessPriority
getProcessInstance, getProcessInstanceCreator, getProcessInstanceKey, getProfileForPermission, getPublishedProcessKey, getRepository, getSession
void registerDataSpaceToCloseOnProcessInstanceTermination(BranchKey aBranchKey)
At execution time, when the process instance is terminated, the workflow engine closes all the dataspaces registered by this method that are not already closed.
void registerDataSpaceToDeleteOnProcessInstanceTermination(BranchKey aBranchKey)
At execution time, when the process instance is terminated, the workflow engine deletes all the dataspaces registered by this method that are not already deleted. If a dataspace has not been closed, the workflow engine automatically closes it before deleting it.