/
Comala Workflows - Archive page
Comala Workflows - Archive page
This script will move a page to a space to be archived when the workflow is put into a specific state.
if(space != "AS" && comalaGetState(id) == "Archive") { //exclude from archive space and check state addComment(id, "Moving page to archive space"); //adds comment to page number archiveHome = getPage("AS", "Archive Space Home"); //gets id of the archive spaces home page movePage(id, archiveHome); //moves page under the archive space }
See Other Recipes
See More Documentation
, multiple selections available,
Related content
Comala Workflows - Move page
Comala Workflows - Move page
Read with this
Apply a workflow to a single page
Apply a workflow to a single page
More like this
Comala Document Management
Comala Document Management
More like this
Add Page Workflow - page tools menu
Add Page Workflow - page tools menu
More like this
Adding a workflow to pages and blogposts - Getting started
Adding a workflow to pages and blogposts - Getting started
More like this
comalaLoadWorkflowToPage
comalaLoadWorkflowToPage
More like this