Soren Mogensen commented on Jul 5, 2010

WCM Sample Workflow Polling framework

Hi David,

With regards to replacing the workflow - the scenario we have at a customer is they want to use a preview server from any stage of the workflow (including draft, and any number of sequential workflow stages). Thus, rather than pushing the content into the next workflow stage (where it may still be draft) we simply change the workflow assigned to the content to one that only has a published stage. Thus, independently of which stage the content was in previously, it will now be published.

David De Vos commented on Jun 15, 2010

WCM Sample Workflow Polling framework

Hi Soren, As you know this framework pre-dates both custom workflow actions and the syndication API, however yes your first suggestion is a good enhancement, although only useful for workflow pollers that run on subscriber-only machines. I've noted down this enhancement and can look at it down the track, potentially earlier if there is demand. As for the second suggestion, I'm not following that, can you explain in more detail.

Soren Mogensen commented on Jun 9, 2010

WCM Sample Workflow Polling framework

I know this is just a sample implementation, but would recommend:

1. Loop through subscribers and check if any syndication has taken place since last run; only look for relevant content if syndication has taken place. (In order to significantly cut down on database lookups)

2. Replace the workflow with one that only has a published workflow stage rather than push to next workflow stage; this makes the preview possible from any workflow stage instead of just the one prior to the published workflow stage.