Skip to main content

Folders

Cloning folders to other organization

To clone folder into another organisation, there is a context menu item (in Finder), for executing this function.

folders-copy-to-other-org.png

Click on this button will list all organizations. After selecting organisation and click "OK" button

folders-copy-select-org.png

There are the following actions executed
  1. check,Check, if settings in both organizations are the same: it will be checked by organization_default settings. If nodes for folder type, project type, activity type, folder states and so on, are different in current and destination organization, the server resutrn error about it.  Otherwise it runs next steps:
  2. getGet folder save the copy in destination organization and run next sub-steps
    1. theThe folder copy will have clear reference id
    2. copyCopy global and custom form values
    3. copyCopy messages only. These messages are assigned only current folder (not projects)
    4. forFor each projects, assigned to source folder, do:
      1. copyCopy project to destination folder (in destination organization)
      2. copyCopy global and custom form values
      3. copyCopy messages assigned only to current project (not from activites)
      4. forFor each activity from source project do
        1. copyCopy activity to destination project
        2. copyCopy global form values (custom form on activity does not exist)
        3. copyCopy messages, only from current activites
        4. recursivelyRecursively copy activites