Is there a way, at the end of a simple workflow, to notify the author ? For ex, I drop a document in a space, where a simple WF is set. If the doc has been validated, I receive an email.
I guess, I may have to use javascript api and add this script to run.
If you are using simple workflow then what you can do is, in the final step you can move it to some approved space (you can define this while setting steps for simple wf) and on that space you can have rule for sending mail whenever items arrive in that space.
This is true, but in this case, the user who started the WF has to be known before. I would like to have a "dynamic" behaviour, as more than one people can drop a file in a space that trigger the simple WF.
any creator => drop file in space => another user validation => mail sent only to creator. I guess I just can t create a "send mail action" as the recipient is never the same unless I missed something !
Yes you are right you have to define the person or group at the time of setting the rule. Well try to explore the Alfresco java script. You can create a script which send mail. You can store the user name of initiator as a property of document under wf. then while sending mail you can extract that value and send email to that person.