Chat now with support
Chat with Support

Identity Manager 8.2 - Configuration Guide

About this guide One Identity Manager software architecture Customizing the One Identity Manager default configuration Customizing the One Identity Manager base configuration One Identity Manager schema basics Editing the user interface
Object definitions for the user interface User interface navigation Forms for the user interface Statistics in One Identity Manager Extending the Launchpad Task definitions for the user interface Applications for configuring the user interface Icons and images for configuring the user interface Using predefined database queries
Localization in One Identity Manager Process orchestration in One Identity Manager
Mapping processes in One Identity Manager Setting up Job servers
The One Identity Manager Service functionality Tracking changes with process monitoring Conditional compilation using preprocessor conditions Scripts in One Identity Manager
Visual Basic .NET scripts usage Notes on message output Notes on using date values Tips for using Windows PowerShell scripts Using dollar ($) notation Using base objects Calling functions Pre-scripts for use in processes and process steps Using session services Using #LD-notation Script library Support for processing scripts in the Script Editor Creating and editing scripts in the Script Editor Copying scripts in the Script Editor Testing scripts in the Script Editor Testing script compilation in the Script Editor Overriding scripts Permissions for running scripts Editing and testing script code with the System Debugger Extended debugging in the Object Browser
One Identity Manager query language Reports in One Identity Manager Adding custom tables or columns to the One Identity Manager schema Web service integration SOAP Web Service One Identity Manager as SPML provisioning service provider Processing DBQueue tasks One Identity Manager Service configuration files

Logging database queries and object actions

Use database query and object action logging in the System Debugger to look for errors and optimize scripts during development. The processing time and the command that was run are logged.

  • SQL log

    Open the log dialog box by selecting the View > SQL log menu item.

  • Object log

    Open the log dialog box by selecting the View > Object log menu item.

Table 142: Functions for logging database queries and object actions
Icon Meaning

Starts recording.

Stops recording.

Copies logged data to the clipboard.

Save logged data in a file.

Deletes the logged data.

Testing script code in the System Debugger

The System Debugger gives you the opportunity to test scripts, templates, formatting rules, methods, and table scripts. Visual Studio debug and edit options are available to you.

Detailed information about this topic

Testing scripts in the System Debugger

To test a script

  1. In the System Debugger, select the desired script in Scripts view.

  2. Enter value for the script parameters as required.

  3. Check the options for running the script.

    • Run in debug mode: Jumps into the source code. This allows you to use all Visual Studio debugging options.

    • Define base data: The Base and Value variables of the script base class can be pre-allocated as input parameters to be used in the script.

      Example:

      Base is initialized with a DB object key in order to use base.GetValue("column name").String.

    • Transaction with rollback: Use this option to specify whether the script is run within a transaction with subsequent rollback or whether the script is run immediately against the database.

  4. Select Start.

    The script starts running. After the script has run, the result and the processing time of the script is displayed.

TIP: To find scripts more easily, you can use the following functions in the Scripts view.

  • In the Find script field, enter the string to filter on.

  • Modified scripts are marked with a * in the System Debugger.

  • To find all modified scripts, click and apply the Changed scripts menu item.

Related topics

Testing templates and formatting scripts in the System Debugger

To test a template

  1. Select the column with template in System Debugger from Templates.

  2. Select the column with the template you want to test under Notifier column.

  3. Select the object in Database object to which to apply the template.

  4. Check the Transaction with roll back option for running the templates.

    Use this option to specify whether the template is run within a transaction with subsequent rollback or whether the template is run immediately against the database.

  5. Select one of the following actions to test the template.

    Action Meaning

    Save

    The object is saved.

    Discard

    The changes made to the object are discarded.

    Load

    The object is reloaded.

    New

    A new object is created.

    Run

    The template is run again.

To test a formatting script

  1. In the System Debugger, select the column with the formatting script in Formats.

  2. Select the object in Database object to which to apply the formatting script.

Related topics
Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating