Skip to main content
October 2, 2021
Solved

Records

  • October 2, 2021
  • 21 replies
  • 0 views

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?

    Best answer by stefanhelzle0001

    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

    October 2, 2021

    Can add more info if needed

    stefanhelzle0001
    Brainy
    October 2, 2021

    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.

    October 2, 2021

    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
    October 2, 2021

    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.