Hi
How can I trigger the deletion of a given WFelements element in my own action?
I know there is a delete button but you can only trigger it by standing on the form, I would like to trigger the deletion action as a cyclic action.
Thx
Maciej
Hi
How can I trigger the deletion of a given WFelements element in my own action?
I know there is a delete button but you can only trigger it by standing on the form, I would like to trigger the deletion action as a cyclic action.
Thx
Maciej
Hi Maciej,
You could try archiving the document with 'Retention' set to 'Remove from content database', although it removes it without any possibility to bring it back.
If you are sure that users will know that it's not possible to bring it back, i'd consider using it, although most of the time i'm keeping a 'Cancelled' step in the workflow, with 'Go back' path for those 'undo my mistake please' moments.
*https://docs.webcon.com/docs/2025R2/Guides/Archiving/
There are two things I want to add to Maks answer.
1. Make sure you have defined night hours. Otherwise they won’t be deleted if you choose to delete them during the night.
2. The retention feature is not part of WEBCONAPPS. You can use the REST API as a fallback.
We are also using a cyclical action to clean up „technical“ workflows after a certain timeframe.
Best regards,
Daniel