Issue with a!startProcessLink function when using in a!gridField (Version 19.3)

Certified Associate Developer

Hi,

We have upgraded Appian to 19.3 version and removing/updating all the depreciated functions. While upgrading the function a!gridField_19r1() to a!gridField() we started facing as issue. Funtion a!startProcessLink was used in a!gridField_19r1() to trigger process model corresponding to the grid rows by passing parameters. Post upgrade, it is not working as expected. we are able to trigger the process model using !startProcessLink function but the parameters getting passed is not correct. Which ever row you select in the grid it always pass details of last row.

For instance, Consider a grid with 3 fields and ID is the process model input parameter. When we click on 1st or 2nd or 3rd row always last row ID, that is 401 is getting passed to the process model. 

ID Policy Name Process Model Link
101 Pol 1 Edit - 101
201 Pol 2 Edit - 201
301 Pol 3 Edit - 301
401 Pol 4 Edit - 401

Sample Code

a!gridField(

label: "",
data:local!policyPropertyGrid,
pagingSaveInto: local!pagingInfo,

columns: {
a!gridColumn(
label: "Edit" ,
value: a!richTextDisplayField(
           value: a!richTextItem(
                      text: "Edit - " & fv!row.policyId,
                      link: a!startProcessLink(
                              processModel: cons!POL_PROPERTY_PM,
                              processParameters: {
                              policyId:fv!row.policyId }
                              )
                     )
           )
     )
  }
)

Could you please advise.

Thanks,
Abin

  Discussion posts and replies are publicly visible