How to link to a process dashboard from process backed record

I have a process backed record type with grid style record list.  Building an interface and wanted to provide a link from the first column so it can take the user to the process dashboard. How this can be achieved? I tried using the below in summary view.

rule!formattedLinkToDashboard(rf!pp.id,""). It doesn't seem to work and returns a blank page.

Also, in interface, this is what  i have.

a!gridTextColumn(
label: "PR Number",
field: "MilestoneSchedule.ReqNumber",
data: index(local!datasubset.data.MilestoneSchedule, "ReqNumber", null),
links: a!forEach(
items: local!datasubset,
expression: a!recordLink(
label: "Go to record view",
recordType: cons!MP_ALL_MILESTONE_SCHEDULES_RECORD,
identifier: fv!identifier,
dashboard: "summary"
)
)
)

  Discussion posts and replies are publicly visible

Parents
  • Hi Meenakshir,

    Can you try below code

    a!gridTextColumn(
    label: "PR Number",
    field: "MilestoneSchedule.ReqNumber",
    data: index(local!datasubset.data.MilestoneSchedule, "ReqNumber", null),
    links:
     apply(
                a!recordLink(
                  label: "Go to record view",
                  recordType: cons!MP_ALL_MILESTONE_SCHEDULES_RECORD,
                  identifier: _ ,
                  dashboard:"summary"
                ),
                local!datasubset.identifiers
              )
    )

  • Hi, 

    I tried the above and same result with the blank page. Also, just want to let you know that rule formattedlinktodashboard returns this output.

    "<p style='background-color:#eee; border:1px dashed #ddd; width:70% !important; margin:0 auto; text-align:center; padding:7px;'><a href="/suite/process/switchprocessdashboardordetails.bg?processId=1416&showDashboard=true&appian_environment=" target="fProcess"></a></p>"

    Thanks for your help!

    Meena

Reply
  • Hi, 

    I tried the above and same result with the blank page. Also, just want to let you know that rule formattedlinktodashboard returns this output.

    "<p style='background-color:#eee; border:1px dashed #ddd; width:70% !important; margin:0 auto; text-align:center; padding:7px;'><a href="/suite/process/switchprocessdashboardordetails.bg?processId=1416&showDashboard=true&appian_environment=" target="fProcess"></a></p>"

    Thanks for your help!

    Meena

Children
No Data