JBoss Community

Re: [Jbpm5]how to get the image showing the current status of a workflow

created by sariner marry in jBPM - View the full discussion

hi jeffery jeffery

can you tell me how to get the image showing the current status of  a workflow? in this following codes:

String s =

                "<div style='width:1024px; height:768px; background-color:#ffffff;'>" +

                        "<div id=\"imageContainer\" style=\"position:relative;top:-1;left:-1;\">" +

                        "<img src=\""+imageUrl+"\" style=\"position:absolute;top:0;left:0\" />";

        for (ActiveNodeInfo activeNodeInfo: activeNodeInfos) {

 

            s+=     "<div class=\"bpm-graphView-activityImage\" style=\"position:absolute;top:"+ (activeNodeInfo.getActiveNode().getY()-8) +"px;left:"+(activeNodeInfo.getActiveNode().getX()-8)+"px;width:50px;height:50px; z-index:1000;background-image: url(images/icons/play_red_big.png);background-repeat:no-repeat;\"></div>";

        }

        s+=     "</div>" +

                "</div>";

 

I don't know how to get ActiveNodeInfo which is defined in jbpm-console.var ,how to call it?  thanks

Reply to this message by going to Community

Start a new discussion in jBPM at Community