Skip to main content
February 22, 2024
Question

Related Record Action taking wrong input while passing through rv!identifier

  • February 22, 2024
  • 18 replies
  • 0 views

Hello Community, I am using Related Record action to update a case, using Rv!identifier as context to pass the case ID which needs to be updated.

And passing the identifier through rule input in the interface using  a!recordActionItem, but it is not taking the correct input(case Id) in this scenario. Any idea why this is happening.

    18 replies

    harshitb6843
    February 22, 2024

    Do you receive a different value or no value?

    February 22, 2024

    Yes I received a different value

    harshitb6843
    February 22, 2024

    It is hard to say why is this happening. For clearing the blocker, for now, you can index the primary key field of the record type. And meanwhile, post more information here for us to go through and help. 

    mathieud0001
    February 22, 2024

    Are you sure that the PV in the process is correctly mapped?

    February 22, 2024

    Yes Checked it, pvs are fine

    mathieud0001
    February 22, 2024

    Care to show a screen shot of your process variables? As well as screen sample of your interface?

    February 22, 2024

    "An error occurred while applying the context for the Record related action [identifier=69]. Details: The record data does not exist, has been deleted, or you do not have sufficient privileges to access it. "...exact error message

    It is taking identifier as 69 while I am passing different value.

    mathieud0001
    February 22, 2024

    Is it properly mapped to your start form?

    How are you retrieving the case in your interface?

    February 22, 2024

    Not Using the start form. The caseId is passed from summary interface which triggers the Pm where the edit case interface is  present as User Input Task.

    March 6, 2024

    Any solution? The same thing is happening to me. I always get the same error identifier.

    I try to create another related action with the same parameters and I obtein another error identifier.


    I check the security of PM and RT, I  also check the PM parameters and it is allright.

    As a curiosity I started to get this error after cleaning the recordt type elements in db. Before the related action runs correctly. 

    I have synchronised the record type, updated the list...And nothing solves the error.

    I would be very grateful for any help.

    venkatrea696188
    March 6, 2024

    I don't know why it happens but I have seen it before fv!identifiers or rv!identifiers don't match with the primary key of that particular record. 

    For clearing the blocker, for now, you can index the primary key field of the record type.

    For now try doing this .

    tejak2639
    March 6, 2024

    Hi,


    As you mentioned that you are getting different ID when clicked on edit case .
    There will be possible scenarios for this error.
    1. rv!identifier is not the case ID (not primary key in that record), Case ID is different and identifier is different .
    2. When calling a!recordActionItem you are saying that you are passing through rule input. here also check whether the case ID is primary key or not. May be there is chance that you are showing one summary and that is having another field as primary key but by mistake you may consider it a case ID.

    For example:- the summary is related to another record and having fieldA as primary key and in that summary when you are trying to use this related action, you are by mistakenly passing that fieldA as primary key .
    And you mentioned 69 , check any field in DB that is having 69 as value.


    Thank you.