How to call a!StartProcessLink() inside a!gridColumn

Certified Associate Developer

Hi All, hope you all are doing great, I'm getting the following error:

Error Evaluating UI Expression Expression evaluation error [evaluation ID = PNO05] in rule 'abs_clientsearchresponse2' (called by rule 'abs_clientsearchrequest2') : A null parameter has been passed.

When trying to invoke a process model inside a!gridColumn as follows:

a!gridColumn(
label: "BUC",
value: a!richTextDisplayField(
label: fv!row.IDE_CLIENTE,
value: a!richTextItem(
text: fv!row.IDE_CLIENTE,
link: a!startProcessLink(
processModel: cons!ABS_CLIENT_REQUEST2_PM,
processParameters: {
buc: fv!row.IDE_CLIENTE
}
),
linkStyle: "STANDALONE",
color: "NEGATIVE",
size: "STANDARD",
style: "STRONG"
)
),
align: "CENTER"
)

The rule: 'abs_clientsearchresponse2' is displaying the row without any error:

But when I click over the BUC link, the above error is displayed, the pv is declared as Parameter with the same name in the PM, I haven't been able to find the root cause of the error. Could you please help me?

Any help will be greatly appreciated.

Thanks and regards,

Jose Castellot

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Do you pass the value into the start form of that process?

    Did you consider to use a record action?

  • 0
    Certified Associate Developer
    in reply to Stefan Helzle

    Hi Stefan / All,
    Thanks for your soon response, originally the buc search page of the Site's navigation menu was configured as a process, so the form was part of the process, however it was decided to change the configuration of the page as an Interface, to avoid creating new threads every time the user clicks on the buc search page.

    The BUC is entered by the user in the form and that value is passed to the process model, on the other hand the table where the buc value is stored doesn't have a record type, we are using a DSE.

    The situation is that the client wants to navigate between the different pages of the Site once the buc value is selected in the buc search page. So we created a table to store the buc value associated with the session of the user. Before that change it was working as expected, I think the issue is the way we are calling the process.

Reply
  • 0
    Certified Associate Developer
    in reply to Stefan Helzle

    Hi Stefan / All,
    Thanks for your soon response, originally the buc search page of the Site's navigation menu was configured as a process, so the form was part of the process, however it was decided to change the configuration of the page as an Interface, to avoid creating new threads every time the user clicks on the buc search page.

    The BUC is entered by the user in the form and that value is passed to the process model, on the other hand the table where the buc value is stored doesn't have a record type, we are using a DSE.

    The situation is that the client wants to navigate between the different pages of the Site once the buc value is selected in the buc search page. So we created a table to store the buc value associated with the session of the user. Before that change it was working as expected, I think the issue is the way we are calling the process.

Children
No Data