diff --git a/apps/workflowengine/lib/Entity/File.php b/apps/workflowengine/lib/Entity/File.php index 9c44a383d6cdd..6196af5bc2350 100644 --- a/apps/workflowengine/lib/Entity/File.php +++ b/apps/workflowengine/lib/Entity/File.php @@ -113,7 +113,7 @@ public function prepareRuleMatcher(IRuleMatcher $ruleMatcher, string $eventName, try { $node = $this->getNode(); $ruleMatcher->setEntitySubject($this, $node); - $ruleMatcher->setFileInfo($node->getStorage(), $node->getPath()); + $ruleMatcher->setFileInfo($node->getStorage(), $node->getInternalPath()); } catch (NotFoundException $e) { // pass }