• Script for pwd gen and putting value into ADSAccount UserPassword field


    I've created a script to generate the password taking the xobjectkey as input and returning the password.

    Here's my script:

    Public Function CCC_Generate_Password_AD(ByVal accountXobjectKey As String) As String
    Dim entity As IEntity = Session…

  • Mail notification for bulk accounts expiration

    Hello everyone,

    I'm looking to set up a monthly email notification system for managers, informing them about users whose accounts are set to expire in the upcoming month.

    Currently, I have a process in place for individual email notifications, with…

  • Contractor To permanent Employee

    Hi All,

    I have one scenario in which I have to write a code for  contractor who are getting promoted to employee in a company for this i have to check whether the Employee ID of the contractor and the newly created employee record  are same.

    If they are…

  • Update Script for a value column in Person Table

    I wanna add a modification to a script used for calculating the CCC_Direction value in the Person table. CCC_Direction corresponds to the Direction to which the person is attached calculated based on DepartmentName column in the Department table as shown…

  • One Identity Manager - Send Email On Deletion of PersonHasQERResource

    I need to send a email when a QERResource assignment is deleted. So I made a email template using PersonHasQERResource and my first thought was to assign it to a custom process for PersonHasQERResource on the Delete event. However, its deleted before this…

  • Designer: how to execute a custom script once

    Hello everyone

    I haver developed a custom script in Designer. It updates certain attribute of the the users in Active Directory. It is a script designed to be executed once. I have compiled it and when I test the script it does not update the attribute…

  • Check consistency error generate by a script

    Hello everyone,

    i have an issue with the script below :

    Dim f As ISqlFormatter = Connection.SqlFormatter
    Dim whereClause_AccProductGroup As String
    Dim whereClause_ITShopOrg As String
    Dim whereClause_PWODecisionMethod As String

  • Creating a process step that allows you to remove all groups from a user

    I need to create a process that removes all groups from a user, however when trying to use the HandleComponent I can only remove a single group from the user.

  • How to generate a unique progressive sequence number in a script?

    I am facing templates for the first time. How can I generate the Central User Account in the form "X" + a progressive number (the number should be retrieved from a "sequence" stored on the DB)?
    Thank you

  • 810222 - Error executing script due to a null reference

    Hi all,

    I have a simple process, linked to JobAutoStart table that executes a simple script.

    I've created this process in development environment and everything works fine.

    The problems are coming out while porting the same configuration in production…

  • Unable to access output parameter

    I'm attempting to build a process-flow that calls a script, and then uses the last string output by the script to determine if the script failed or not.  I've checked the out-of-the-box Job-Chains and have found about 30 examples of Job-Steps that…

  • Query in a scrip with order by condition

    Hi everyone,

    I'm creating a custom scrip in which I need to execute a query with the order by clause. I specified it in the where caluse but there is a default "order by cn" in the final query. Here you can see the two queries.

    Where clasue…

  • Script to hash a password before provision it to the target system database

    Hi everyone,

    I have a target system connected through the Native Database Connector and i have to provision the password on this database. In the target system database the password is encrypted using SHA256 hex but it is not automatically done by the…

  • Not able to trigger an event from the script

    Hi Everyone,

    I am trying to generate an event from a script.

    I tested the script using Visual Studio its triggering the event but when I tested the same from designer it not triggering any event.

    If sapMandant.ALEShortName.Contains("ND2") Then
    Dim htParameter…

  • The request was aborted: Could not create SSL/TLS secure channel.

    Hi all,

    I have an issue with the Rest API call where I need to provide the certificate (it is the authentication API). I have checked this and other forums, but I can not solve the issue  I was able to establish the connection in the Synchronization Editor…

  • How to work with custom mail template?

    Hello experts!


    We wrote a script, the result from this script, we want it to be displayed in the letter that is sent to the user by event.


    I created a mail template, i write                  $SCRIPT(ССС_Test)$

    The recipient receives                                   $SCRIPT(ССС_Test)$


    And there…

  • Uninstall Defender Desktop Login 5.9.1 programmatically

    Hello all,

    First time poster.  Need your assistance.  We have a large environment and we use SCCM to manage all machines.  I need to uninstall version 5.9.1 from all machines and I am having a hard time doing that using script or programmatically.  I tried…

  • Need clarity | Creating UNSAccountB from account definition on employee creation

    Hi fellow experts,

    I hope everyone is save and healthy.

    I've configured an account definition for a custom target system and mapped it with a business role (assigned using a dynamic rule). So the creation of UNSAccountB is happening and using the generic…

  • Getting UIDs of newly created AttestationCases

    Hello Community,

    I'm using the method CreateAttestations in a script with an array of objectkeys as input:

    Dim arrXObjKey As String() = colObjects.Select(Of String)(Function(t) t.GetValue(Of String)("XObjectKey")).ToArraySmart()
    Dim policy As…

  • Get Person object then add a value to a multi-value column in One Identity

    I have a process I need to write that's going to need a VB script. I have a custom multivalue column on the Person object. When the process fires, I want to add a value to the multivalue column. What would the VB Script look like that would grab the Person…

  • Mail Template scripts


    1IM 8.1

    I need get XDateInserted from Department view in Mail Template. 

    I wrote script: 

    Public Function CCC_Department_Get_XDateInserted_1(ByVal dbDepartment As ISingleDbObject) As String
                Dim strLOGFileName = "C:\temp\logs\temp.txt…

  • unable to push the Mailbox marked for deletion.

    Hi Team,

    I am unable to push the Mailbox marked for deletion from Manager(target system sync Exchnage)

    when trying to push getting below error

    error message:

    Error generating processes for event Update.
    Error executing script 'Event_Update'.

  • How to send the right script return value so the reformatted JSON appears correctly?


    I'm having trouble with how my output looks in my data for the script I've created. I've created the script in a way where the output is a String that is precisely aligned to JSON format (using the Newtonsoft.Json.Linq.JObject format). However…

  • "Use transaction" as in-script variable

    When testing the script from Designer it is possible to set "Use transaction". Is it possible to somehow set "Use transaction" inside script i.e. Session.Variables.Put("UseTransaction", True)?

  • Web Portal: Is there a way to execute backend functions or scripts?

    Hello people,

    I was wondering if there is a way to execute backend functions from the Web Portal.

    For Example: let's say I have a function in backend called "CCC_MyFunction" which accepts some parameters and returns some string. Is there a way to retrieve…