Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error setting up the flow #41

Closed
Edzilla2000 opened this issue Dec 14, 2020 · 6 comments
Closed

error setting up the flow #41

Edzilla2000 opened this issue Dec 14, 2020 · 6 comments
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@Edzilla2000
Copy link

Hello,
If I try to set up a flow where the OCR happens on create/update with mime type "PDF", I get a "the given regular expression is invalid" error:
image

@bahnwaerter
Copy link
Collaborator

bahnwaerter commented Dec 14, 2020

Thanks for reporting this error. I also observed this error a few weeks ago during testing (see #32 (comment)).

This error is caused by a bug in the Nextcloud workflow engine. Therefore, @R0Wi reported this issue already to the Nextcloud server repository (see nextcloud/server#23666). We hope that this bug in the Nextcloud workflow engine will be fixed soon.

To get the OCR processing done, you can use the following temporary workaround. Replace the matches operator with the is operator and everything should work out fine.

@bahnwaerter bahnwaerter added bug Something isn't working duplicate This issue or pull request already exists labels Dec 14, 2020
@bahnwaerter
Copy link
Collaborator

bahnwaerter commented Dec 14, 2020

Duplicate of nextcloud/server#23666.

@bahnwaerter bahnwaerter marked this as a duplicate of nextcloud/server#23666 Dec 14, 2020
@R0Wi
Copy link
Contributor

R0Wi commented Dec 14, 2020

Thanks @Edzilla2000 and @bahnwaerter . Closing this sice this seems to be a problem inside NC core itself. Feel free to reopen if we can help somehow.

@R0Wi R0Wi closed this as completed Dec 14, 2020
@Niemand112233
Copy link

I have the same problem, even if I select "is" instead of "matches".

@R0Wi
Copy link
Contributor

R0Wi commented Dec 31, 2020

Unfortunately i cannot reproduce this issue (see attached screen video). Which version of Nextcloud do you use? And are you configuring "personal flows" (like me in the video) or "administration flows" (Settings -> Administration -> Flow) ?

simplescreenrecorder-2020-12-31_15.17.07.mp4

@Niemand112233
Copy link

Ah the option "when" was hard to see because it automatic opens the "file type" option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants