Skip to main content
Known Participant
Oct 2, 2021 3:45 PM UTC
Solved

Records

So, I'm building a record where i have all the items in the store, then i can drill down to 1 item and update ir, but when i click on update item related action i get this error: 

An error occurred while applying the context for the AS Items In Store related action [identifier=21]. Details: No process parameter found corresponding to override [name=pv!item]. Non-parameter process variables cannot be overridden.

Any help?

    stefanhelzle0001
    Brainy
    Oct 3, 2021 12:22 PM UTC

    You need to pass the context as a dictionary. Check the image from the documentation.

    In your case this would be

    {
      product: rule!AS_Get_By_Id(rv!identifier)
    }

    21 replies

    Known Participant
    Oct 2, 2021 3:50 PM UTC

    Can add more info if needed

    stefanhelzle0001
    Brainy
    Oct 2, 2021 7:50 PM UTC

    Sure, this means that you try to pass a value to the variable "item" in the process. This process variable does not exist or is not configured as a parameter.

    Known Participant
    Oct 2, 2021 7:53 PM UTC

    I'm a little fresh on this part can you elaborate, for instance the problem is in the process model? or in some interface? I dont think I have any variable called item, i only refer to item as the object that has the attribues from the CDT

    stefanhelzle0001
    Brainy
    Oct 2, 2021 8:09 PM UTC

    In the related action, you need to pass some data to the process model. Like in this example

    https://docs.appian.com/suite/help/21.3/record-actions.html#configure-a-new-record-action-manually

    The fields in the dictionary must match the process variables and the process variables need to be configured as a parameter.