Error using Start Process Link in an Interface

Certified Senior Developer

Hi,

I am trying to use startProcessLink in a grid view Interface so that an user can edit the selected record by selecting a location Name. This is my first time using this method. 

When I am selecting an entry, I am getting an error message:

 An Error Has Occurred No process parameter found corresponding to override [name=pv!locationId]. Non-parameter process variables cannot be overridden.

a!gridColumn(
        label: "Location Name",
        sortField: "description",
        value: a!linkField(
          links: {
            a!startProcessLink(
              label: fv!row.description,
              processModel: cons!BC_PM_ADD_LOCATION,
              processParameters: { locationId: fv!row.locationId }
            )
          }
        ),

My process model is working fine. So how and where do I fix it? 

Please advice me. 

Thanks

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Senior Developer
    in reply to Stefan Helzle

    Something wrong with the way I was passing the parameters. Trying with dynamic link now. 

    Thanks

  • 0
    Certified Senior Developer
    in reply to Stefan Helzle

    Hi Stefan, 

    I want to use a link in the below read only grid interface to edit the entries in another form. So calling another form when the user selects location name. 

    Below is the form to edit the selected entry. 

    I want to use a local variable that hides the grid and shows the selected location and do the necessary changes. 

    I tried with Process link but coming with a blank edit form. So thought of doing with a dynamic link. 

    But not able to figure it. 

    a!gridColumn(
              label: "Location Name",
              sortField: "description",
              value: a!linkField(
                links: {
                  a!dynamicLink(
                    label: fv!row.description,
                    value: fv!row.description
                  ),
                  
                }
              ),
              align: "CENTER",
              width: "MEDIUM"
            )

    Please advice. 

    Thanks