Hi,
I am trying to access workflow instance node for checking some property (this is being set in previous step). I tried using workItem for getting workflow instance node inside check()
var path = workItem.getWorkflow.getId(); // workItem is not available --- tried graniteWorkItem as well
Node wfNode = workflowSession.getSession().getItem(path);
//Then I can do hasProperty on that node. But workItem is not accessible?
Is there any other way where I can get the instance node path?
This is output path I am expecting - "/etc/workflow/instances/2013-12-02/model_1385973603042334000"