Hi,
I don't find this in the Community...
How to change the status of all pages in a tree structure (menu)?
I have to change status of hundreds pages (but not all the space).
Thanks a lot for your help.
Hello @Philippe ROUSSEL
The suggestion by @Matteo Gubellini _SoftComply_ is valid and may be the right one depending on your use case.
An alternative is to use what we call a 'cascade workflow'...
{workflow:name=Cascade}
{trigger:labeladded|label=cascade}
{set-label:cascade|children=true}
{remove-label:cascade}
{trigger}
{trigger:labeladded|label=cascade|state=STATE A}
{set-state:STATE B|comment=changed by Space Admin}
{trigger}
{workflow}
Basically, the first trigger adds the "cascade" label to all the pages immediate children (not grandchildren) and removes "cascade" from current page. The second trigger also fires on the labeladded event for "cascade" but also checks the existing state before firing off the action to change the state.If you have further questions or wish to validate your workflow for your precise use case, please contact our Customer Success team at https://support.comalatech.com, it would be helpful if you could attach your workflow markup as a txt file.
Kind regards
James
Senior Product Manager
Nice, I was not aware of this feature!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There is nothing built into the system, but you can use the approve children macro to do it.
In this case you will need to put all the docs you need under one parent page, assign a simple workflow to the parent page and use the approve children macro inside it. The children pages will have to be in an approval state and ready to be approved.
I should have an example somewhere, let me know if you need it.
Matteo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matteo,
Is it still possible to see the example?
Cheers
Timo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.