wp ren [
https://community.jboss.org/people/bird86] created the discussion
"Re: Getting Node Name from Node Instance in jBPM 5.4"
To view the discussion, visit:
https://community.jboss.org/message/805926#805926
--------------------------------------------------------------
You could code this:
Iterator<NodeInstance> iterator = nodes.iterator();
do {
processTasks = iterator.next().getNodeName();
System.out.println(processTasks + " - " + count);
count = count + 1;
} while (count < nodes.size());
iterator() method will give you a new iterator instance when you invoke it every time.So
you get the first Nodeinstance every time.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/805926#805926]
Start a new discussion in jBPM Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]