ParameterPage paramPage = new ParameterPage();
oLog.infoForced("thread:"+tools.getParamValue("thread"));
paramPage.put("ThreadName",tools.getParamValue("thread"));
paramPage.put("Location","pyActivity=DoUIAction&action=createNewWork&className=MyOrg-Lending-Work-Lending&flowName=pyStartCase");
pega_rules_utilities.callActivity(myStepPage,"RedirectAndRun",paramPage);