I created a repo action that closes the workflow task and sets the appropriate transition. This allows users to approve / reject documents directly when viewing the list (something like a simple workflow but works for any custom workflow). I would like to run this action from the multiselect menu, for several seleted items.
I have a problem with writing a script that will run a repo action for each selected document.
The action was written in java (I used the example from the documentation: send-as-email action) and works for the single document (both on the browse view or detailed view). But how to use it in multi-select mode.
Any suggestions, hints, examples?