nextcloud / nextcloud/workflow_script

A wildcat to get Approvel Workflow requester's ID

Open
#363 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement
Dominant language
PHP
Stars
89
Forks
19
Avg merge
6h 38m
Merged PRs (30d)
3

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the existing %o and %a wildcards are resolved in the workflow_script app, then follow the Approval workflow context to identify the current requester for a file shared by someone else. Done means a new wildcard returns that requester’s ID without changing the existing owner or approver behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.