cancel
Showing results for 
Search instead for 
Did you mean: 

Delete diferent files in diferent space in the same time

naguilar
Champ in-the-making
Champ in-the-making
Hi:

In a apce I have a file with format .docx and I have a rule that transforms them into pdf on the same space or different (as it generates the pdf with the same name as the docx). If I want to delete the file docx, what way I can link it to the pdf file that was created earlier in transformation rule and delete this. Pdf in automatico?.
5 REPLIES 5

sselvan
Champ in-the-making
Champ in-the-making
I assume you have both docx and pdf in the same space. I understand that you have a rule to transform incoming docx files into PDF files.

You could create another rule in the same location to delete docx file, as soon as a PDF file is created in that space.

Hope this helps!

naguilar
Champ in-the-making
Champ in-the-making
thanks, where do I find this option?, in the rule actions wizard, only I have:

Add aspect to item
Add simple workflow to item
blog-post
check in content
check out content
copy item to a folder in a web project
copy item to a specific space
execute a scrip
extract common metadata fields from content
import an Alfresco econtect package
increment counter
link item to category
move item to a specific space
remove an aspect from an item
send an email to specific users
specialise the type of an item
transform an copy content to a specific space
transform an copy image to a specific space

I don't find the option, can you help me?

sselvan
Champ in-the-making
Champ in-the-making
You might have to write a script and "Execute a script" to do the same.

naguilar
Champ in-the-making
Champ in-the-making
Excuse me, could you give me an example? with some of code, and what is the path where i can configure this code. Thanks.

sselvan
Champ in-the-making
Champ in-the-making
There is a similar post matching you requirement
http://forums.alfresco.com/en/viewtopic.php?f=7&t=25306

hope this helps!
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.