cannot-parse-object-id error RRS feed

  • Question

  • I have an MA in which I am using the mventry GUID as the anchor.  I flow the mventry object-id into a string value using:

     csentry("GUID").StringValue = mventry.ObjectID.ToString

    in the MVExtension code.

    In my MA code, I am trying to search the MV for that GUID to do a join:

     Public Sub MapAttributesForJoin(ByVal FlowRuleName As String, ByVal csentry As CSEntry, ByRef values As ValueCollection) Implements IMASynchronization.MapAttributesForJoin
            Select Case FlowRuleName
                Case "cd.person#3:GUID-><object-id>"
                Case Else
                    Throw New EntryPointNotImplementedException()
            End Select
        End Sub
        Public Function ResolveJoinSearch(ByVal joinCriteriaName As String, ByVal csentry As CSEntry, ByVal rgmventry() As MVEntry, ByRef imventry As Integer, ByRef MVObjectType As String) As Boolean Implements IMASynchronization.ResolveJoinSearch
            ResolveJoinSearch = False
            imventry = -1
            Dim mventry As MVEntry
            Dim intIndex As Int32 = 0
            Select Case joinCriteriaName.ToLower
                Case "cd.person#3".ToLower
                    For Each mventry In rgmventry
                        mventry = rgmventry(intIndex)
                        If StrComp(mventry.ObjectID.ToString.ToLower, csentry("GUID").StringValue.ToLower, CompareMethod.Text) = 1 Then
                            ResolveJoinSearch = True
                            imventry = intIndex
                            'Log("Joined on 'GUID' " & csentry("GUID").StringValue & _
                            '   " to " & mventry.ObjectID.ToString, True, 1)
                            Exit Function
                        End If
                        intIndex = intIndex + 1
    I've tried a number of different ways to code this and I always get the "cannot-parse-object-id" error.


    Ed Bell - Specialist, Network Services, Convergys

    • Edited by Ed Bell Friday, October 18, 2013 7:32 PM format
    Friday, October 18, 2013 7:31 PM

All replies

  • Hello,

    seems to be an error with the format of the GUID in the String value.
    GUID must be {nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn}

    where n is hex value, and the brackets must be includes.

    can you check this or provide some example data from MV ?


    Peter Stapf - Doeres AG - My blog:

    Friday, October 18, 2013 8:38 PM
  • It was the lack of the brackets.  Changed:



    values.Add("{" & csentry("GUID").StringValue & "}")

    And all is working as expected now.

    Ed Bell - Specialist, Network Services, Convergys

    Friday, October 18, 2013 8:44 PM