}
// New logic to redirect back to the "sequence" if we were running one
try
{
SequenceContext scon = (SequenceContext) getKeelContext().get(SequenceContext.CONTEXT_KEY);
if (scon != null)
{
log.debug("SequenceContext is not null. Current Model = " + getModel() + ", model in sequence = "
+ scon.getSequenceName() + ".");
/* Make sure we didn't just come from the same sequence */
if (! getModel().equals(scon.getSequenceName()))
{
scon.setCurrentResponse(res);
// runSeq.setParameter( "seq", new
// Integer(scon.getSeq()).toString());
// expirimenting with the seq problems. When we transition,
// we should be setting the seq back....
log