Actions from "Selected items" menu

cancel
Showing results for 
Search instead for 
Did you mean: 
jacek_pater
Active Member

Actions from "Selected items" menu

Jump to solution

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?

1 Solution

Accepted Solutions
jacek_pater
Active Member

Re: Actions from "Selected items" menu

Jump to solution

I looked at it, understood it and did it. Thank you very much.
In fact, the problem came down to how to write Webscript that will perform this action.

View solution in original post

2 Replies
jpotts
Professional

Re: Actions from "Selected items" menu

Jump to solution

Have you tried looking at the source for the existing copy, move, delete, and download-as-zip actions that are in the multi-select menu?

jacek_pater
Active Member

Re: Actions from "Selected items" menu

Jump to solution

I looked at it, understood it and did it. Thank you very much.
In fact, the problem came down to how to write Webscript that will perform this action.