BUG 9585 In the Process Designer/Process Supervisor there is an option that reads...SOLVED
- The steps for supervisor was not working, and the outputs option was no configuration in the ProcessMap - Fix the steps for the supervisors and the option outputs was deleted until the option was added in the ProcessMap designer (new feature)
This commit is contained in:
@@ -41,7 +41,7 @@ G::LoadClass('case');
|
||||
|
||||
$o = new Cases();
|
||||
|
||||
$PRO_UID = '';
|
||||
$PRO_UID = $_SESSION['PROCESS'];
|
||||
|
||||
$treeArray = array();
|
||||
//if (isset($_GET['action'])&&$_GET['action']=='test'){
|
||||
@@ -52,7 +52,8 @@ $treeArray = array();
|
||||
$APP_UID = $_GET['APP_UID'];
|
||||
$DEL_INDEX = $_GET['DEL_INDEX'];
|
||||
$steps = $o->getAllDynaformsStepsToRevise($_GET['APP_UID']);
|
||||
foreach ($steps as $step) {
|
||||
$steps->next();
|
||||
while ($step = $steps->getRow()) {
|
||||
require_once 'classes/model/Dynaform.php';
|
||||
$od = new Dynaform();
|
||||
$dynaformF = $od->Load($step['STEP_UID_OBJ']);
|
||||
@@ -60,10 +61,10 @@ $treeArray = array();
|
||||
$n = $step['STEP_POSITION'];
|
||||
$TITLE = " - ".$dynaformF['DYN_TITLE'];
|
||||
$DYN_UID = $dynaformF['DYN_UID'];
|
||||
$PRO_UID = $step['PRO_UID'];
|
||||
$href = "cases_StepToRevise?type=DYNAFORM&ex=$i&PRO_UID=$PRO_UID&DYN_UID=$DYN_UID&APP_UID=$APP_UID&position=".$step['STEP_POSITION']."&DEL_INDEX=$DEL_INDEX";
|
||||
$extTreeDynaforms->add(new TreeNode($DYN_UID,$TITLE,"datasource",true,false,$href,"openCaseFrame"));
|
||||
$i++;
|
||||
$steps->next();
|
||||
}
|
||||
echo $extTreeDynaforms->toJson();
|
||||
// end the dynaforms tree menu
|
||||
@@ -74,8 +75,8 @@ $treeArray = array();
|
||||
$APP_UID = $_GET['APP_UID'];
|
||||
$DEL_INDEX = $_GET['DEL_INDEX'];
|
||||
$steps = $o->getAllInputsStepsToRevise($_GET['APP_UID']);
|
||||
//$i=1;
|
||||
foreach ($steps as $step) {
|
||||
$steps->next();
|
||||
while ($step = $steps->getRow()) {
|
||||
require_once 'classes/model/InputDocument.php';
|
||||
$od = new InputDocument();
|
||||
$IDF = $od->Load($step['STEP_UID_OBJ']);
|
||||
@@ -83,20 +84,10 @@ $treeArray = array();
|
||||
$n = $step['STEP_POSITION'];
|
||||
$TITLE = " - ".$IDF['INP_DOC_TITLE'];
|
||||
$INP_DOC_UID = $IDF['INP_DOC_UID'];
|
||||
$PRO_UID = $step['PRO_UID'];
|
||||
$href = "cases_StepToReviseInputs?type=INPUT_DOCUMENT&ex=$i&PRO_UID=$PRO_UID&INP_DOC_UID=$INP_DOC_UID&APP_UID=$APP_UID&position=".$step['STEP_POSITION']."&DEL_INDEX=$DEL_INDEX";
|
||||
$extTreeInputDocs->add(new TreeNode($INP_DOC_UID,$TITLE,"datasource",true,false,$href,"openCaseFrame"));
|
||||
$i++;
|
||||
$steps->next();
|
||||
}
|
||||
echo $extTreeInputDocs->toJson();
|
||||
// end of the tree assembling input documents list
|
||||
echo ",";
|
||||
$i=0;
|
||||
$APP_UID = $_GET['APP_UID'];
|
||||
$DEL_INDEX = $_GET['DEL_INDEX'];
|
||||
$outputHref = "cases_StepToReviseOutputs?ex=$i&PRO_UID=$PRO_UID&DEL_INDEX=$DEL_INDEX&APP_UID=$APP_UID";
|
||||
$ouputItem = new TreeNode ("node-output-documents",G::loadtranslation('ID_OUTPUT_DOCUMENTS'),"",true,false,$outputHref,"openCaseFrame");
|
||||
echo $ouputItem->toJson();
|
||||
echo "]";
|
||||
|
||||
|
||||
echo "]";
|
||||
Reference in New Issue
Block a user