2 Replies Latest reply on Sep 7, 2017 1:34 PM by AlasdairRobertson

    Algorithm used to create Recids

    paul.bornhutter Rookie

      Hi all


      Was wondering if someone knows what the algorithm used to create Recids looks like.

        • 1. Re: Algorithm used to create Recids
          DrizztLU Apprentice



          I'm not sure about it, but it looks like a (.NET or any other) Guid which had its "-" removed

               .NET ==> Guid.NewGuid().ToString().Replace('-', '');


          I actually inserted quite a few records with this method.


          EDIT: (couldn't find trace of a similarity in RecIds in old version )

          2 of 2 people found this helpful
          • 2. Re: Algorithm used to create Recids
            AlasdairRobertson ITSMMVPGroup

            Hi Paul


            As DrizztLU mentioned it would be either a .Net GUID function or SQL NEWID()  both follow fairly much the same principle of a 128 bit unique (well almost) string in a hex format so 32 chars in length.


            This is implemented through the Business Rules for an object as an Initialisation Rule RecId = $((NewGuid())


            Out of interest what do you need it for, if its inserting new records ISM will create them for you as the initialisation rule handles all this.