Facing issue with document download link

A Score Level 1

I have used the  start process that produces an Excel file and places it in a Folder. when i am trying to download it from UI , it gives nothing.Any 

a!richTextDisplayField(
  value: {
    a!richTextIcon(
      showWhen: if(
        rule!NTD_isNullOrBlank(ri!excelGenerated),
        true,
        false
      ),
      icon: "gears",
      linkStyle: "STANDALONE",
      color: "ACCENT"
    ),
    "  ",
    a!richTextItem(
      showWhen: if(
        rule!NTD_isNullOrBlank(ri!excelGenerated),
        true,
        false
      ),
      text: "Generate Excel",
      linkStyle: "STANDALONE",
      link: a!dynamicLink(
        saveInto: {
          a!startProcess(
            processModel: cons!k_START_PROCESS,
            processParameters: ri!processParameters,
             
              
          
            onSuccess: {
              a!save(
              ri!excelGenerated,
              fv!processInfo.pv.generatedDocument
            ),
            }
          )
        }
      )
    ),
    a!richTextIcon(
      showWhen: if(
        rule!NTD_isNullOrBlank(ri!excelGenerated),
        false,
        true
 ),
      icon: "file-excel-o",
      linkStyle: "STANDALONE",
      
    ),
    "  ",
    a!richTextItem(
      showWhen: if(
        rule!NTD_isNullOrBlank(ri!excelGenerated),
        false,
        true
      ),
      text: "Download Excel",
      linkStyle: "STANDALONE",
      link: a!documentDownloadLink(document:ri!excelGenerated),
    
    )
  },
  align:ri!align
)

  Discussion posts and replies are publicly visible