Class ProcessInstanceContextWork


  • public class ProcessInstanceContextWork
    extends TxInHandleFailureWrappingWork
    Adding context information about Process definition and instance to exception for better logging
    Author:
    Celine Souchet
    • Constructor Detail

      • ProcessInstanceContextWork

        public ProcessInstanceContextWork​(WrappingBonitaWork wrappedWork,
                                          long processInstanceId)
        Parameters:
        wrappedWork - The work to wrap
        processInstanceId - The identifier of the process instance
      • ProcessInstanceContextWork

        public ProcessInstanceContextWork​(WrappingBonitaWork wrappedWork,
                                          long processInstanceId,
                                          long rootProcessInstanceId)
        Parameters:
        wrappedWork - The work to wrap
        processDefinitionId - The identifier of the process definition
        processInstanceId - The identifier of the process instance
        rootProcessInstanceId - The identifier of the root process instance