Tchater maintenant avec le support
Tchattez avec un ingénieur du support

On Demand Migration Current - Active Directory User Guide

Setup

Workflows

What is a Workflow?  

A workflow is a configurable series of steps that provides an easy automation framework to connect and manage Directory object synchronization. Activities such as creating, updating and deleting objects along with property/attribute synchronization and transformation. In addition, workflows may also include a PowerShell script to be executed based on the workflow rules. Providing greater flexibility and extensibility to the workflow automation.

 

Where do I manage Workflows?  

To manage workflows, simply open the left navigation menu and click Workflows, located under Setup, see figure 1.

Figure 1: Directory Sync Setup and Settings Menu

Figure 1: Directory Sync Setup and Settings Menu

 

What should be entered as the Workflow Name?  

You can name your workflow anything you'd like but remember that you may be referencing the same environment in multiple workflows. We suggest a name that generally describes the flow of objects. Then use the description field for the distinguishing characteristics. After this step, the wizard will guide you through all the necessary components that will make up your workflow.

 

What should be selected for Workflow Type?  

The workflow type choice determines which default set of workflow steps that the wizard will guide you through. No matter what choice you make here, you can always customize your workflow steps at any time, so if you aren't sure, start with a one-way sync. Once you have learned what settings work best for a particular project, you may want to enter those settings in an XML file and import it here so that you can easily recreate the steps for similar workflows. You can download the sample file and then customize to your needs, then import it.

 

What are the steps to create a Workflow?  

When you create a new workflow, the wizard will ask you to choose a type of workflow. It will then prepopulate a workflow for you with the appropriate steps. You can modify this, or, start from scratch. We will start from scratch, to examine the possible steps that you will need for any workflow.

 

  1. First is Read From. Here is where you will choose the environments that have the objects that you would like to use for matching and mapping, and ultimately for possible migration to a target environment. If you plan a many to one migration, you would choose several sources here. You have to have at least one environment to read from in any workflow. One Read From step can include several sources, so you don’t need a separate read from step for each one.
  2. Match objects is next. Here is where you choose the environments to compare, AND, the criteria that Directory Sync will use to decide if an object in one environment is the same object as found in another environment, which we call a match. If you don’t read from an environment, you cant choose it here.

    Important: Objects created by Directory Sync will not be matched until they are read and matched by running the Read and Match workflow task.

  3. The Stage Data step is required next. Stage Data is where you customize your workflow action. You will be asked to choose a template. A template contains specifc preferences that you can reuse, such as password options, and attribute mappings. You will choose your source and target environment pairs here. And again, you will only be able to choose those environments that you have read from. You will be able to choose your source OUs and even set up some OU filters if you want to narrow your scope.
  4. And finally, you need to include at least one Write To environment. After data has been matched, mapped and filtered, what is your target, where do you want to place the new objects, and/or sync objects that were considered a match?

 

How is a Workflow scheduled?  

You can run your workflow manually or choose to run at specific time intervals. Or choose a time of day. The minimum time interval is 15 minutes. No matter what you choose as part of the wizard, you can always trigger a manual run of a workflow from the welcome screen. You can access the welcome screen at any time by clicking the Directory Sync logo at the top left.

The set interval can be changed on the Discover tab of the Local Environment settings.

 

Can objects be deleted?  

A Delete Objects step is also available. If an object is removed from scope and/or deleted from the Source, any matching object on the Target will be deleted. To configure this step, you must enter Source/Target endpoint pairs and a threshold (the max number of objects to delete per pair).

 

Can a PowerShell script be run?  

An optional additional step would be the run PowerShell script step, in which you can choose a PowerShell script that will run each time the workflow is run.

 

Additional Information  

Alerts

Workflow Test Mode

Evaluate Changed Objects Only

Workflow Test Mode

What does the Workflow Test Mode do?  

You can use Workflow Test Mode to view the normal processing and logs without making changes to the target environment.

 

How is the Workflow Test Mode enabled?  

Workflow Test Mode can be enabled on the General tab of Settings. When the Test Mode option is checked, the workflow will execute the workflow while preventing the Write To jobs from executing and writing anything to the target environment.

 

What does the Skip Script option do?  

When the Skip Scripts option is checked, all script tasks in the workflow will be skipped. If you choose to disable this option, object changes may occur based on the actions within the script.

 

How do you see the history of the Workflow run in Test Mode?  

After running the workflow in Test Mode, You can view the History of the workflow and download the logs. The log will display the skipped Write To job as being skipped and the Script task as being skipped (if Skip Scripts is enabled).

 

Additional Information  

Workflows

Alerts

Evaluate Changed Objects Only

Workflow: Evaluate Changed Objects Only

What does the "Only evaluate objects which have changed since last read" option do?  

You can set a workflow to only evaluate objects which have changed on the General tab. When the "Only evaluate objects which have changed since last read" option is selected, only objects that have changed since the last read will be evaluated. When the option is not selected, all objects are evaluated.

 

Additional Information  

Workflows

Alerts

Workflow Test Mode

Documents connexes

The document was helpful.

Sélectionner une évaluation

I easily found the information I needed.

Sélectionner une évaluation