Add is_acknowledged property to Node class (#461)

This pull request introduces an `is_acknowledged` property to the `Node`
class in the Business Process library to enhance JSON output.
This commit is contained in:
Jáchym Holeček 2025-06-30 10:47:56 +02:00 committed by GitHub
parent 575fb964d0
commit f12b2d744a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -547,7 +547,8 @@ abstract class Node
'name' => $this->getAlias(),
'state' => $this->getStateName(),
'since' => $this->getLastStateChange(),
'in_downtime' => $this->isInDowntime() ? true : false
'in_downtime' => $this->isInDowntime() ? true : false,
'in_acknowledged' => $this->isAcknowledged() ? true : false
];
if ($parent !== null) {