From 793a52dd1413eac19fc299c153824700add26cdf Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 28 Oct 2020 14:07:14 +0100 Subject: inform the user when flow config data exceeds thresholds Signed-off-by: Arthur Schiwon --- lib/public/WorkflowEngine/IManager.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib') diff --git a/lib/public/WorkflowEngine/IManager.php b/lib/public/WorkflowEngine/IManager.php index 490467663ae..5956228ce7e 100644 --- a/lib/public/WorkflowEngine/IManager.php +++ b/lib/public/WorkflowEngine/IManager.php @@ -34,6 +34,16 @@ interface IManager { const SCOPE_ADMIN = 0; 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 */ -- cgit v1.2.3