It's possible to get executionId into java robot class?
Discussion posts and replies are publicly visible
Hi Antonio,
This is one way to get the current executionId:
List<IRobotExecutionDetail> lstRexec = server.getExecution(0).robotExecutions(); if (lstRexec !=null && lstRexec.size()>0 ) { for (IRobotExecutionDetail rr: lstRexec ) { server.info(rr.getExecutionId()); } }else { server.warn("ID is not available"); }
Thank you very much!