public interface IWFOperationContext extends IEvaluationContext
| Modifier and Type | Interface and Description |
|---|---|
static class |
IWFOperationContext.ActivityContext |
| Modifier and Type | Method and Description |
|---|---|
void |
cleraObjectsCache()
Deprecated.
|
void |
flushResourceCache()
When you make changes to the resource you get by
IEvaluationContext.getResource(), the workflow engine
caches the change on memory and persists at the very end to minimize the performance costs. |
IWFOperationContext.ActivityContext |
getActivityContext()
Returns the activity context.
|
IWFActivityInstance |
getActivityInstance() |
IWFProcess |
getProcess()
Returns the process.
|
IWFProcessDefinition |
getProcessDefinition()
Returns the process definition.
|
IWFTransition |
getTransition()
Returns the transition being performed.
|
java.lang.String |
getTransitionComment()
Returns the user-provided comment value.
|
clearObjectsCache, getAttribute, getObjectType, getOperationName, getResource, getResourceId, getServiceFactory, getToday, getUserIWFProcessDefinition getProcessDefinition()
IWFProcessDefinitionIWFProcess getProcess()
IWFProcessjava.lang.String getTransitionComment()
IWFActivityInstance getActivityInstance()
IWFOperationContext.ActivityContext getActivityContext()
IWFOperationContext.ActivityContextIWFTransition getTransition()
IWFTransition@Deprecated void cleraObjectsCache()
void flushResourceCache()
throws java.lang.Exception
IEvaluationContext.getResource(), the workflow engine
caches the change on memory and persists at the very end to minimize the performance costs. The custom action
implementers can usually just call the set-value methods on the fields and without explicit
IResourceService.saveResource(com.ibm.openpages.api.resource.IResource) call. However, you may sometimes want
to persist it immediately, so the trigger operations or the resource fetch from the database can retrieve the latest object state.
Call this API in such case.java.lang.Exception
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2020. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.