Comala Workflows - Move page

This script will add a new label to all of the child pages of the selected parent page.

Approved.sil
number parentID = getPage("PP", "Approved");
movePage(id, parentID);
Rejected.sil
number parentID = getPage("PP", "Rejected");
movePage(id, parentID);

See Other Recipes

See More Documentation