nextcloud / workflow_script

Rule based processing of files through specified external scripts
https://apps.nextcloud.com/apps/workflow_script
GNU Affero General Public License v3.0
73 stars 17 forks source link

A wildcat to get Approvel Workflow requester's ID #363

Open ER-EPR opened 1 day ago

ER-EPR commented 1 day ago

How to use GitHub

Feature request

Which Nextcloud Version are you currently using: (see administration page) 29.0.9

Is your feature request related to a problem? Please describe. I am using Approval workflow to automate add a tag to trigger the flow script. I need to get the requester's id to send the file to the correct location. When the file requesting approval is owned by the requester I can use %o to do that. But when the file is owned by others shared with the requester, I have no means to get the requester's ID. I tried the %a but it is the approver's ID in stead of the requester. Is their a way to get the id of the requester?

Describe the solution you'd like A clear and concise description of what you want to happen. A new wildcat to represent the current requester of the file instead of the original owner that share the file.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. %o can auto detect whether the file is shared and act on the correct id.

Additional context Add any other context or screenshots about the feature request here. nothing yet

blizzz commented 22 hours ago

Is their a way to get the id of the requester?

This has to be implemented, currently there is no way, unless maybe done external, if the approval app provides any API.