|
@@ -1013,8 +1013,8 @@ class Services extends ApiServices
|
|
|
);
|
|
|
$ch = new Checks();
|
|
|
$id = $ch->integer($request, "id", true);
|
|
|
- $workflow = "onu_workflow_2";
|
|
|
- $transition = "active";
|
|
|
+ $workflow = "onu_workflow";
|
|
|
+ $transition = "config";
|
|
|
$apiInstance->setDisabledTenancy(true);
|
|
|
$result = $apiInstance->getById($id);
|
|
|
$apiInstance->setDisabledTenancy(false);
|
|
@@ -1051,7 +1051,7 @@ class Services extends ApiServices
|
|
|
);
|
|
|
$ch = new Checks();
|
|
|
$id = $ch->integer($request, "id", true);
|
|
|
- $workflow = "onu_workflow_2";
|
|
|
+ $workflow = "onu_workflow";
|
|
|
$transition = "disable_delete";
|
|
|
$apiInstance->setDisabledTenancy(true);
|
|
|
$result = $apiInstance->getById($id);
|
|
@@ -1088,8 +1088,8 @@ class Services extends ApiServices
|
|
|
);
|
|
|
$ch = new Checks();
|
|
|
$id = $ch->integer($request, "id", true);
|
|
|
- $workflow = "onu_workflow_2";
|
|
|
- $transition = "disable";
|
|
|
+ $workflow = "onu_workflow";
|
|
|
+ $transition = "active_disable";
|
|
|
$apiInstance->setDisabledTenancy(true);
|
|
|
$result = $apiInstance->getById($id);
|
|
|
$apiInstance->setDisabledTenancy(false);
|
|
@@ -1126,8 +1126,8 @@ class Services extends ApiServices
|
|
|
);
|
|
|
$ch = new Checks();
|
|
|
$id = $ch->integer($request, "id", true);
|
|
|
- $workflow = "onu_workflow_2";
|
|
|
- $transition = "active";
|
|
|
+ $workflow = "onu_workflow";
|
|
|
+ $transition = "disable_active";
|
|
|
$apiInstance->setDisabledTenancy(true);
|
|
|
$result = $apiInstance->getById($id);
|
|
|
$apiInstance->setDisabledTenancy(false);
|