08-01-2012 09:09 AM
08-09-2012 03:04 PM
Hi there,
At the moment I want to configure a rule which send out a notification to a person when content gets a a custom content type assigned.
For example a user upload one particular document A.pdf. At this moment the content type is still cm:content.
However after the content type is specialized to: my:customcontent it looks lik Alfresco does receive this trigger.
Does anyone know how this can be solved?
The notifications itself work so that is not the issue.
Kind regards,
Marcel
Alfresco Community v4.0.0
(3979) schema 5025
08-10-2012 02:56 AM
08-10-2012 11:21 AM
Hi douglas,
Thank you for your reply.
I'm not sure if I did something wrong however what I already wrote, and perhaps I did not make it very clear.
It looks like if Alfresco did not receive the update trigger after the type is specialized.
Any idea what the problem could be?
Kind regards,
Marcel
09-25-2012 03:19 AM
if(document.typeShort == "type1" || document.typeShort == "type2" || document.typeShort == "type3")
{
// create mail action
var mail = actions.create("mail");
// set the required parameters
mail.parameters.to = "mail@mail.com";
mail.parameters.subject = "subject";
mail.parameters.from = "alfresco@alfresco.com";
mail.parameters.text = "Text Message";
// execute action against a document
mail.execute(document);
}
09-25-2012 07:42 AM
09-25-2012 07:57 AM
09-25-2012 08:33 AM
09-25-2012 09:17 AM
09-25-2012 10:23 PM
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.