Skip to Content
Former Member
Aug 12, 2009 at 12:23 PM

how to get seeburger work bench counter value


hi all,

i want to get the current counter value in the seeburger workbech counter.

i used the following function suggested in one of the threads in forum, but its giving the below error

func used:

try {

VariableBean be=VariableFactory.getVariableInstance("");

return be.getStringVariable(variableName);

} catch (Exception e) {

throw new RuntimeException(e);



RuntimeException in Message-Mapping transformation: Exception:[java.lang.RuntimeException: java.lang.RuntimeException: VariableBeanServlet: Could not call getVariable() method of the Servlet. Cause=java.lang.ClassCastException]

i guess this above function is to get variable value and not counter value. can any body give me code to get counter value.

Thanks a lot in addvance



Edited by: Rashmi H S on Aug 12, 2009 2:30 PM