Package org.kie.api.runtime.manager.audit

## Interface VariableInstanceLog

-     public interface VariableInstanceLog

  Audit view of variables that keeps track of all changes of variable identified by given name/id. This means that variable log will contain both current and previous (if exists) value of the variable.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Date` | `getDate()` |
    `String` | `getExternalId()` |
    `String` | `getOldValue()` |
    `String` | `getProcessId()` |
    `Long` | `getProcessInstanceId()` |
    `String` | `getValue()` |
    `String` | `getVariableId()` |
    `String` | `getVariableInstanceId()` |

- - ### Method Detail

    - #### getProcessInstanceId

          Long getProcessInstanceId()

      Returns:
        process instance identifier

    - #### getProcessId

          String getProcessId()

      Returns:
        process id of the definition

    - #### getVariableInstanceId

          String getVariableInstanceId()

      Returns:
        additional information in case variable is defined on composite node level to be able to distinguish it between top level and embedded level variables

    - #### getVariableId

          String getVariableId()

      Returns:
        identifier of the variable aka variable name

    - #### getValue

          String getValue()

      Returns:
        current value of the variable

    - #### getOldValue

          String getOldValue()

      Returns:
        previous value of the variable (if any)

    - #### getDate

          Date getDate()

      Returns:
        date when the variable was set (to current value)

    - #### getExternalId

          String getExternalId()

      Returns:
        external (optional) identifier associated with this process instance