Forum Archive

Workflow Hooks to Editorial events, eg on document open

emkay

Hello,

I was wondering if it is possible in Editorial to associate workflows with events that occur in Editorial.

For example, on opening a document it would be great if that could automatically run a workflow (that had been hooked up to that event). In this example I was thinking of automatically switching workspaces - based on the Workspaces workflow.

Any thoughts would be appreciated,

Martin

omz

Sorry, that's currently not possible at all, interesting idea though.

minnepicker

I suppose you could do it the other way around... Create a workflow that open the document and then applies whatever actions your looking for.

emkay

Thanks minniepicker, yes, that is a possible workaround for my example, though I am hoping for more general hooks support.

e.g.

  • on_delete: (when a file is deleted in the file browser, as I am trying to maintain an index of all my documents to enable faster searching, but I don't know when documents are deleted)
  • on_preview: so that small customisations can be made to the standard preview

My hope is that this would provide a mechanism for things to be "baked" into the UI, eg Global Search, but with that just being a hook to a standard workflow so it can be customised, etc

Obviously it ain't as easy as it sounds, but I can dream.