Have you made sure to turn on the Workflow process for that Collection?

In other words, I'm pretty sure these Curation tasks wired into the workflow 
will only trigger​ if the Collection has at least one workflow step enabled.  
If there are no workflow steps, then newly submitted Item will bypass the 
workflow process altogether and go immediately into the archive.

It's possible that what you are really wanting is the ability to run a curation 
task during the submission​ process (as that way it will trigger whether you 
have a workflow setup or not).  Unfortunately though that feature doesn't work 
yet in 7.x, but it is under development as noted here: 
https://github.com/DSpace/DSpace/issues/2868  (I suspect it may be completed in 
time for 7.6, but cannot verify yet.)

Tim
________________________________
From: dspace-tech@googlegroups.com <dspace-tech@googlegroups.com> on behalf of 
do...@uoguelph.ca <do...@uoguelph.ca>
Sent: Tuesday, May 2, 2023 10:06 AM
To: DSpace Technical Support <dspace-tech@googlegroups.com>
Subject: [dspace-tech] Curations in workflow in DSpace 7.5

Hello again everyone,

I have written a custom curation task and I'm really struggling to wire it up 
to run as part of a submission workflow. No matter what I try, I can't see any 
indication that it's even trying to run my task at all. There's nothing about 
it in dspace.log at all and the item seems unaffected.

My curation task runs properly when you execute it via the command line or 
through the curation web interface.

Here's a GitHub gist with the relevant configuration that I'm using: 
https://gist.github.com/doana/1dc9fdb53b6fdaf92f23fdac69202f6e

What I've tried so far:

  *   Read configurable workflow docs: 
https://wiki.lyrasis.org/display/DSDOC7x/Configurable+Workflow
  *   Read curation system docs: 
https://wiki.lyrasis.org/display/DSDOC7x/Curation+System#CurationSystem-Inworkflow
  *   Created the configuration as described in the gist above
  *   Rebuilt DSpace and restarted tomcat
  *   In workflow-curation.xml, I've also tried different flowstep values other 
than "archive"
     *   step1
     *   editstep
     *   reviewstep
  *   In workflow-curation.xml I've tried specifying 
<workflow>reject</workflow>as well, despite the fact that I don't really want 
it to reject the item.
  *   In submission-curation.cfg I've tried using the FileReporter instead of 
the LogReporter

When executing my curation task through the CLI or web interface, I can see in 
dspace.log that it is working, and can see that it updates the item metadata 
accordingly.

I've also seen that there are a few issues on GitHub around curation but most 
seem centred around the vscan task and I haven't been able to glean much useful 
info from them. Notably after reading 
#2868<https://github.com/DSpace/DSpace/issues/2868> I'm not even 100% clear 
that this is supported at all in DSpace 7 yet.

Can anyone shed any light on this or offer any suggestions?

Thanks!
-Adam





--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/eee64eb4-e618-4410-91a6-44acc7b28796n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/eee64eb4-e618-4410-91a6-44acc7b28796n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/PH0PR22MB3274C6BF05CB615D018074A6ED6F9%40PH0PR22MB3274.namprd22.prod.outlook.com.

Reply via email to