ERROR: Actions invariably access the repository. Doing so without a transaction is not recommended.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2021 06:18 AM
Hi,
I am trying to call action in my java class:
but line 57 throws an ERROR:
Do you have any ideas how to resolve this problem ?
Thanks
Labels:
- Labels:
-
Alfresco Process Services
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2021 07:26 AM
Do you not need to call the ServiceRegistry?
Cheers,
Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
Problem solved? Click Accept as Solution!

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2021 08:29 AM
hi @EddieMay,
I am using action and search services, which are then registrated in a bean. I think that is not a problem.
