List transList = workActivity.getOutgoingTransitions();
WorkflowProcess workflowProcess = workActivity.getWorkflowProcess();
WorkflowPackage workflowPackage = workflowProcess.getWorkflowPackage();
ScriptInterpretor interpretor = workflowService.getScriptInterpretor();
RuntimeContext context = null;
WorkflowCase workflowCase = workflowWork.getWorkflowCase();
WorkflowCaseContext caseContext = workflowCase.getCaseContext();
int sizeTrans = transList.size();
if (sizeTrans > 0)
{
WorkflowTransition transition = null;
for (int i = 0; i < sizeTrans; ++i)
{
if (context != null)
{
context.clear();
}
transition = (WorkflowTransition) transList.get(i);
context = genParameterConext(caseContext, transition);
WorkflowCondition conditon = transition.getCondition();