Home Search

DriveWorks Pro 22
Copy Group on a Specified Source Group

Send Feedback

Copy Group on a Specified Source Group

This Specification Flow Task will copy a specified Source Group to a Destination Group. This action can be performed from a separate Group.

This allows the functionality of the Data Management task Copy Group to be automated.

The target Group must already exist.

Properties

Property NameDescription
TitleChanges the Title (not the name) of the task.
Target Group Connection StringTarget Group must be an existing and accessible Group.

For Individual Groups the complete connection string is:

Provider=LocalGroupProvider;Path=C:\Users\username\Documents\MyGroup.drivegroup

For Shared Groups the complete connection string is:

Provider=RemoteGroupProvider;Server=YourServerName;Name=YourGroupName

Target Group UsernameThe username to log into the target group.
Target Group PasswordThe password to log into the target group.
Configuration File PathThe full path to the saved configuration file.

See Copy Group for more information.

Source Group Connection StringSource Group must be an existing and accessible Group.

For Individual Groups the complete connection string is:

Provider=LocalGroupProvider;Path=C:\Users\username\Documents\MyGroup.drivegroup

For Shared Groups the complete connection string is:

Provider=RemoteGroupProvider;Server=YourServerName;Name=YourGroupName

Source Group UsernameThe username to log into the Source group.
Source Group PasswordThe password to log into the Source group.

Log

This connection point can be linked to another task, such as Drive Constant Value, to report the success of the task once it has been executed.

Example

When this Task is added the properties are static. To be able to build rules on a static property see How To: Change A Static Property To A Dynamic Property.

Property NameExample RuleExample ResultMeaning
Target Group Connection String (For Individual Group)"Provider=LocalGroupProvider;Path=C:\DriveWorks\MyGroup.drivegroup"Provider=LocalGroupProvider;Path=C:\DriveWorks\MyGroup.drivegroupWill copy the current Group into the target Individual Group - MyGroup.
Target Group Connection String (For Shared Group)"Provider=RemoteGroupProvider;Server=DriveWorksProServer;Name=MyGroup"Provider=RemoteGroupProvider;Server=DriveWorksProServer;Name=MyGroupWill copy the current Group into the target Shared Group - MyGroup.
Target Group Username"Admin"AdminWill login to the target group as Admin.
Target Group Password"1234"1234Will login to the target group with the password 1234.
Configuration File Path"D:\DriveWorks\CopyGroupConfigFile.xml"D:\DriveWorks\CopyGroupConfigFile.xmlWill use the configuration file CopyGroupConfigFile.xml.
Source Group Connection String (For Individual Group)"Provider=LocalGroupProvider;Path=C:\DriveWorks\MyGroup.drivegroup"Provider=LocalGroupProvider;Path=C:\DriveWorks\MyGroup.drivegroupWill copy the current Group into the Source Individual Group - MyGroup.
Source Group Username"Admin"AdminWill login to the Source group as Admin.
Source Group Password"1234"1234Will login to the Source group with the password 1234.

Status Outputs

This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.

The status output navigation is as follows:

Success

  • Successfully Copied SourceGroup into DestinationGroup Group.

Success with Warnings

  • Copied SourceGroup into DestinationGroup. The process had a mixture of successful and failed actions. See the Specification report for details.

Failed

  • Failed to Copy SourceGroup into DestinationGroup Group. See the Specification report for details.
  • Error unable to log into SourceGroup Group. Please check the username and password are correct.
  • Error performing Copying Group on a Specified Source Group.