com.ibm.openpages.api.workflow.actions

Interface IWFOperationContext

    • Method Detail

      • getTransitionComment

        java.lang.String getTransitionComment()
        Returns the user-provided comment value.
        Returns:
      • cleraObjectsCache

        @Deprecated
        void cleraObjectsCache()
        Deprecated. 
        DEPRECATED - use clearObjectsCache()
      • flushResourceCache

        void flushResourceCache()
                         throws java.lang.Exception
        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. 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.
        Throws:
        java.lang.Exception
        Since:
        8.1

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.