Skip to content

Print list of variables from finished process #13

@StephenOTT

Description

@StephenOTT
def processInstanceId = processInstance.getProcessInstanceId()
def historicVariableInstanceQuery = historyService().createHistoricVariableInstanceQuery().processInstanceId(processInstanceId)

historicVariableInstanceQuery.list().each{
    println "${it.getName()} : ${it.getTypeName()}: ${it.getClass()}"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions