Skip to main content
jjf0003
July 1, 2021
Question

How do I start a process from a URL (in an email) using processModelOpaqueId and cacheKey or some other way?

  • July 1, 2021
  • 6 replies
  • 0 views

Hello,

We have a need to place a start process link in an email to end users so that the users can go directly to a process that has not yet been started from their email notification.

I have tried the following and it seems to work for the user that generated the link; however, if a different logged in user tries to use the generated URL it gives the An Error Has Occurred The process does not exist, has been deleted, or you do not have permission to start it.  Pink Box.

a!localVariables(
  local!startProcessLink: a!startProcessLink(
    processModel: ri!processModel,
    processParameters: ri!processParameters
  ),
  
  local!processUrl: cons!CONSTANT_FOR_BASE_URL 
    & "/start-process/"
    & index(local!startProcessLink, "processModelOpaqueId", null)
    & "?parameters="
    & index(local!startProcessLink, "cacheKey", null),
    
  local!processUrl
)

    6 replies

    stefanhelzle0001
    Brainy
    July 1, 2021

    Simple answer. Not. This is just not supported and has been discussed several times here.

    jjf0003
    jjf0003Author
    July 1, 2021

    Thanks for the quick reply, maybe I was using the wrong search terms when browsing community for the answer.

    stefanhelzle0001
    Brainy
    July 1, 2021

    Never mind. May I ask what the overall use case is?