Interface ScriptTaskBeanContext

    • Method Detail

      • registerDataSpaceToCloseOnProcessInstanceTermination

        void registerDataSpaceToCloseOnProcessInstanceTermination​(BranchKey aBranchKey)
        Registers a dataspace that should be closed at process instance termination.

        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.

        Since:
        5.5.0
      • registerDataSpaceToDeleteOnProcessInstanceTermination

        void registerDataSpaceToDeleteOnProcessInstanceTermination​(BranchKey aBranchKey)
        Registers a dataspace the should be deleted at process instance termination.

        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.

        Since:
        5.5.0