workflow_script
workflow_script copied to clipboard
add possibility to define an activity text for each workflow which will be written to the activity stream
Enhancement request
For compliance reasons, it would be nice to be able to define an activity text for each workflow which then will be written to the activity stream of a user. Alternatively a text returned by the external script could be written to the activity stream. This would allow to get notice of the processing done by a workflow script. It should be possible to use the available place holders in that text string.
Example: Imagine you've created an external script which converts an uploaded 3gp-video to a mp4-video. As soon as you uploaded a file a message like "You have created xvz-video.3gp" is being logged. Next an external script is executed which converts the file to a mp4-video (xyz-video.mp4) and the original file is being deleted.
As a result you will see a file named "xyz-video.mp4" on your server but not the file "xyz-video.3gp" anymore. Currently the activity stream doesn't contain any entry about the external script execution nor the file renaming and how/why it has happened.