Skip to main content
June 23, 2023
Question

Access Denied with recordLink

  • June 23, 2023
  • 9 replies
  • 0 views

Hi,

I have a plain Interface where there is a recordLink to the summary view of a Record Type.
In preview mode the Interface works well: the link succeeds in opening iebr.appian.community/.../ [...]
But when the Interface is launched as a starting module of a Process Model the link doesn't work anymore and returns a 403 message (Access Denied). In this case, it tries to open iebr.appian.community/.../ [...].
My authorization levels seem ok.
Where could be the problem?

Many thanks

    9 replies

    stefanhelzle0001
    Brainy
    June 23, 2023

    Can you share the code snippet?

    What exactly do you mean with "Interface is launched as a starting module of a Process"?

    harshitb6843
    June 23, 2023

    He means the interface is plugged as the process start form. 

    harshitb6843
    June 23, 2023

    There seems to be a problem with the second like. If you notice, this is an invalid link and needs to be fixed. Can you please tell me how are you constructing this link?

    June 23, 2023

    I used a recordLink construct:

    a!linkField(
        links: a!recordLink(
           label: "link",
           recordType: 'recordType!{403fa7de-3e5a-43eb-b9d7-0e8199162c21}TB Prova',
           identifier: 1
       )
    )

    sunilc6392
    June 23, 2023