Trying to build a scheduled OneNote Backup Workflow
AnsweredHello,
I like to create a OneNote Backup Workflow, using a scheduled action. But I am running into issues.
Ideally the solutions should be applied to a new SharePoint site, so that the site will receive ...
- a new Document Library with a predefined name
- a OneNote document with a defined name
- a second Document Library with a predefined name as an archive
Now the workflow should create a backup of this OneNote because OneNote do not have a version history.
I usually use a configuration list like this to be used in workflows and retrieve settings/values
Variable | Value | Explanation |
Active |
true |
true or false switch to turn on or off workflow |
AgencyCode |
491234 |
Your Agency Code usually starts with 49xxxx |
Frequency |
7 |
repeating every x days, 7 = weekly, 1 = daily |
Day |
5 |
Monday = 1 till Sunday = 7 |
Time |
20 |
full hour only 0 till 23, the hour to start the backup workflow |
However, it looks like that there is no option to schedule actions on variables just a predefined schedule that is set within the scheduled action? Like on a fixed date/time/interval. I'd rather love to use values from the config list to set the schedule. Also the config file would have a trigger setting and turn of the workflow. Okay I think at least this could be achieved and although there is no option to stop the scheduled action, I could at least let the scheduled action do nothing if the value in the list is set to "false".
But secondly, it looks like the "copy document" action is unable to copy a OneNote, using the "copy folder" does copy the OneNote in a strange way, instead of having a copy of ONE OneNote file the action seems to copy separate OneNote (open), OneNote (Section), OneNote (Pages) items?
Any thoughts, help or ideas?
Many thanks in advance.
Cheers
Joerg
-
I could live with a fixed schedule. But not with the bug when trying to copy a OneNote.
0 -
As discussed parallel in a support ticket: For the copy a OneNote use case skybow's Solution Studio is offering the Action: Clone note from the M365 Actions set at the moment.
But what was discussed as well: If you have no M365 Group association these actions can not cover your use case at the moment. Then you probably can find some SP REST calls or similar to achieve your requirement by custom code or with HTTP Request actions.0 -
Thank you Christof!
0
Please sign in to leave a comment.
Comments
3 comments