Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

The ActionHandler SharepointOnlineDeletionHandler deletes all files and folders from Sharepoint-online for the given processInstance.

Class

com.dooris.bpm.actionhandler.SharepointOnlineDeletionHandler

All Sharepoint properties should be enabled.

Screenshot 2024-08-05 160120.png

Parameter

Description

Default value

Example

includeAllRelatedInstances

Delete everything in all softlinks/subprocesses and mainprocesses

false

All the related instances file and folders will be deleted from the documents tab and Sharepoint after the task is completed.

deleteMainProcessFolder

Delete the mainprocess folder if dms-mainprocess-storage=read,write is used

false

All the main process files and folders will be deleted from the documents tab and Sharepoint after the task is completed.


Use case: After adding the SharePointOnlineDeletionHandler to the task, you can start the process instance and then add a document.

Screenshot 2024-08-05 194355.png

The document is now successfully displayed in the Sharepoint files list.

Screenshot 2024-08-05 194445.png

After the document is added, the task can be completed.

Screenshot 2024-08-05 194544.png


Once the task is completed, the document is successfully removed from both the Documents tab and the SharePoint files list.

Screenshot 2024-08-05 194644.png


Screenshot 2024-08-05 194707.png


  • No labels