Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Is SaveAction.Reject supported by the LocalPageProvider?

Vote:
 

I am working on setting up a simple workflow to control content publishing.

The workflow is going to be triggered when the page is CheckedIn ("Ready to Publish"). If the change is not approved we want the page to be set back to either Saved or Rejected (just not CheckedIn) and a task and email sent to inform the creator what needs changing.

We can do everything except setting the page from CheckedIn back to Save or Rejected. It seams that the LocalPageProvider doesn't support the SaveAction.Reject. the other option was to create a new version at saved status and delete the version at CheckedIn. This is only possible if you modify the page, even with ForceNewVersion set.

Am I missing something or are we going to have to create our own provider that does support this?

Regards

Jim

#57183
Mar 01, 2012 10:09
Vote:
 

Ok, My stupid... 

Was anding not oring SaveAction.Save and SaveAction.ForceNewVersion.

This works as required.

#57184
Mar 01, 2012 11:12
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.