You can apply scripts at various points in the synchronization projectA collection of all data required for synchronizingThe processSequence of process steps for mappingList of object matching rules and property mapping rules which map the schema properties of two connected systems to one another. an operational workflow. The process steps are connected to one another by predecessor/successor relationships. This functionality allows flexibility when linking up actions and sequences on object events. of comparing data between One Identity Manager and a target system. Objects and their properties are compared by fixed rules. Synchronization results in the identical data situation in the target system and One Identity Manager database. and provisioning a target system. Connection data, schema classes and properties, mappings, and synchronization workflows all belongs to this.; for example, when defining the schema properties, in the object filter, or when you define data operations for system connections through the generic database connectorSystem connector for connecting to an external database.. You can enter scripts in C# or Visual Basic .NET depending on script's language, which was specified for the synchronization project.
You can use the available compiling and debugging functions to troubleshoot script.
Button | Description |
---|---|
Opens advanced edit mode. | |
Compile | Checks the script's syntax.
Script was compiled without errors. Script contains syntax errors. |
Debug | Export the current script to a Visual Studio project.
This button is available only in the Edit SchemaData model of a connected systemSystem the objects and their properties are transferred to during synchronization. The connected system is defined by the synchronization direction. Example of synchronization direction "Target system" (One Identity Manager -> Active Directory): Here Active Directory is the connected system and One Identity Manager is the primary system of synchronization.. The schema describes all the main data from the connected system. see target system schema; see One Identity Manager schema; see connector schema; see extended schema Properties dialog and in the system connection wizard for the generic database connector. |
Compile
To verify the script's syntax
- Open the script in the Synchronization EditorOne Identity Manager tool for configuring target system synchronizationPost processing of objects that were marked as outstanding by synchronization...
- Click Compile.
Compiler errors are shown immediately and written to in the Synchronization Editor's error log.
Debug
The script is exported to a Visual Studio project for debugging. Once the project is run, the Synchronization Editor starts in debug mode and the script is tested.
Prerequisites
- Visual Studio is installed on the workstation on which the Synchronization Editor is running.
- All changes to the synchronization project are saved.
- The debugger can be used in scripts that are used in:
- Schema properties
- Script variablesVariable whose value is determined by a script.
- Data operations for system connections using the generic database connector
To debug a script
- Open the script in the Synchronization Editor.
- Click Debug.
- Confirm the prompt with OK.
- Start debugging in the Visual Studio project.
- If necessary, correct the script in the Synchronization Editor's default mode.
- Save the changes.