cancel
Showing results for 
Search instead for 
Did you mean: 

Start script after content type is changed

d_franz
Champ on-the-rise
Champ on-the-rise
Hello,

I am looking for a method to define a rule to start a script after changing the type of a file.
In the rule menu I only can find after creation, after change and after delete.
The option that starts after a change only starts after a save operation.

Many thanks in advance!
6 REPLIES 6

mitpatoliya
Star Collaborator
Star Collaborator
And how you gonna change the type of document?
Also your last line is confusing.

d_franz
Champ on-the-rise
Champ on-the-rise
I am changing the type with the option "Change Type" that you can find in the "Document Actions". But with the default rules as I know you cannot start a script after changing the type.
A rule that is triggert by a change only starts when you leave "Edit Metadata" with pressing "save".

mitpatoliya
Star Collaborator
Star Collaborator
Could you please add the screenshot?

mitpatoliya
Star Collaborator
Star Collaborator
Hey Could you please translate those messages for me?
because AFAIK there is no such action available in alfresco as change type.

d_franz
Champ on-the-rise
Champ on-the-rise
Sorry, but changing the type is a standard function of alfresco.
That makes it possible to apply types and aspects from custom content models to every file.