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",