From 5db31f10eec3bf75d59fc76ed97fbbe507dfe568 Mon Sep 17 00:00:00 2001 From: Ida Dittrich Date: Fri, 6 Mar 2026 15:27:54 +0100 Subject: [PATCH] fix: sharepoint base path --- .../methods/methodSharepoint/methodSharepoint.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/workflows/methods/methodSharepoint/methodSharepoint.py b/modules/workflows/methods/methodSharepoint/methodSharepoint.py index d187e438..6ee07736 100644 --- a/modules/workflows/methods/methodSharepoint/methodSharepoint.py +++ b/modules/workflows/methods/methodSharepoint/methodSharepoint.py @@ -167,9 +167,16 @@ class MethodSharepoint(MethodBase): name="documentList", type="List[str]", frontendType=FrontendType.DOCUMENT_REFERENCE, - required=True, + required=False, description="Document list reference(s) containing findDocumentPath result" ), + "pathQuery": WorkflowActionParameter( + name="pathQuery", + type="str", + frontendType=FrontendType.SHAREPOINT_FOLDER, + required=False, + description="Direct path query if no documentList (e.g., /sites/SiteName/FolderPath)" + ), "includeSubfolders": WorkflowActionParameter( name="includeSubfolders", type="bool",