aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2020-10-28 16:05:35 +0100
committerGitHub <noreply@github.com>2020-10-28 16:05:35 +0100
commit6b2cf46125343ab184e50a51cea08813f5b50997 (patch)
treed9b390c046e1b69ec46b134d298beccf0553ae7c /lib/public
parent4ade7f12f263f9702fd801b483603c0005ff2d34 (diff)
parent1eb86e46fdfaed73d240b3e47b6fe9a36179b3a5 (diff)
downloadnextcloud-server-6b2cf46125343ab184e50a51cea08813f5b50997.tar.gz
nextcloud-server-6b2cf46125343ab184e50a51cea08813f5b50997.zip
Merge pull request #23752 from nextcloud/fix/noid/wfe-ux-errors
inform the user when flow config data exceeds thresholds
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/WorkflowEngine/IManager.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/WorkflowEngine/IManager.php b/lib/public/WorkflowEngine/IManager.php
index a1c8833bef3..df8c276bbcd 100644
--- a/lib/public/WorkflowEngine/IManager.php
+++ b/lib/public/WorkflowEngine/IManager.php
@@ -36,6 +36,16 @@ interface IManager {
public const SCOPE_USER = 1;
/**
+ * @since 21.0.0
+ */
+ public const MAX_CHECK_VALUE_BYTES = 2048;
+
+ /**
+ * @since 21.0.0
+ */
+ public const MAX_OPERATION_VALUE_BYTES = 4096;
+
+ /**
* @depreacted Will be removed in NC19. Use the dedicated events in OCP\WorkflowEngine\Events
*/
public const EVENT_NAME_REG_OPERATION = 'OCP\WorkflowEngine::registerOperations';