Re: [dspace-tech] Curations in workflow in DSpace 7.5

2023-05-03 Thread Adam Doan
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.
Thank you, Tim! That was the solution.

We can work with that for now and I'll keep an eye on that issue for the future.

Take care,
-Adam


---

Adam Doan | Analyst, Digital Strategy & Technology

McLaughlin Library | University of Guelph
50 Stone Road E | Guelph, ON | N1G 2W1
519-824-4120 Ext. 52974 | do...@uoguelph.ca<mailto:do...@uoguelph.ca>

www.uoguelph.ca<https://www.uoguelph.ca>, 
www.lib.uoguelph.ca<https://www.lib.uoguelph.ca>


[1500656725244_uofg_cornerstone_improve_life.png]


From: 'Tim Donohue' via DSpace Technical Support 
Sent: Tuesday, May 2, 2023 12:15 PM
To: Adam Doan ; DSpace Technical Support 

Subject: Re: [dspace-tech] Curations in workflow in DSpace 7.5


CAUTION: This email originated from outside of the University of Guelph. Do not 
click links or open attachments unless you recognize the sender and know the 
content is safe. If in doubt, forward suspicious emails to ith...@uoguelph.ca.


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  on behalf of 
do...@uoguelph.ca 
Sent: Tuesday, May 2, 2023 10:06 AM
To: DSpace Technical Support 
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 
rejectas 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_source=footer>.

--
All messages to this mailing list should adhere to the Code of Conduct: 
http

Re: [dspace-tech] Curations in workflow in DSpace 7.5

2023-05-02 Thread 'Tim Donohue' via DSpace Technical Support
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  on behalf of 
do...@uoguelph.ca 
Sent: Tuesday, May 2, 2023 10:06 AM
To: DSpace Technical Support 
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 
rejectas 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_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.


[dspace-tech] Curations in workflow in DSpace 7.5

2023-05-02 Thread do...@uoguelph.ca
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 rejectas 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 
 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/eee64eb4-e618-4410-91a6-44acc7b28796n%40googlegroups.com.