Merged
requested to merge 62-orchestrator-lifecycle-prolongation-adds-time-from-date-of-process-and-not-from-resource-end-date into dev
+ 86
− 41
@@ -181,53 +181,98 @@ class LifeCycle implements EndpointInterface
@@ -181,53 +181,98 @@ class LifeCycle implements EndpointInterface
protected function updateLifeCycle (array $lifeCycleBehavior, string $userDN, array $currentUserLifeCycle)
$newEntry['SubState'] = $lifeCycleBehavior[0]['fdtaskslifecyclepostsubstate'][0] ?? ''; //SubState is optional
$newEntry['EndDate'] = $lifeCycleBehavior[0]['fdtaskslifecyclepostenddate'][0] ?? 0; //EndDate is optional
$newEntry = "{" . $newEntry['Resource'] . "}" . $newEntry['State'] . ":" . $newEntry['SubState'] . ":"
// Iterate through the supann state and update the array of new entry while keeping history untouched
@@ -235,7 +280,7 @@ class LifeCycle implements EndpointInterface
@@ -235,7 +280,7 @@ class LifeCycle implements EndpointInterface
@@ -246,12 +291,12 @@ class LifeCycle implements EndpointInterface
@@ -246,12 +291,12 @@ class LifeCycle implements EndpointInterface
'fdTasksLifeCyclePostResource', 'fdTasksLifeCyclePostState', 'fdTasksLifeCyclePostSubState', 'fdTasksLifeCyclePostEndDate'],
@@ -259,7 +304,7 @@ class LifeCycle implements EndpointInterface
@@ -259,7 +304,7 @@ class LifeCycle implements EndpointInterface