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

Certified Associate Developer

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.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

    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.

Reply
  • 0
    Certified Associate Developer

    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.

Children
No Data