Skip to main content
Known Participant
September 30, 2022
Question

Trying to Generate a StartProcessLink in Process Model

  • September 30, 2022
  • 11 replies
  • 1 view

Hi,

I have a use case where I need to redirect a user to a StartForm  when user clicks on the link in the email. I'm able to generate this StartProcessLink (Pm has specific process parameters that needs to be sent as  well) successfully when I try to execute in an expression rule but when I try to call this expression rule in ProcessModel's Script Task to get the output, it is returning a null value, any suggestions on how to approach it?

Note: We cannot Trigger a Pm and keep it active as we do not know the time frame of when user would be working in it. It can range from a day to a month

Any suggestions appreciated. 

Thanks in Advance. 

11 replies

mikes0011
Brainy
September 30, 2022

If you're after a Start Form, it seems like it would be far simpler to simply have the email contain a link directly to a Site tab that's configured to use a start form for that express purpose.

The Expression Guru
Known Participant
September 30, 2022

Thanks for the Response Mike. But no, that is not the case. If it is just a start from I would understand the approach, but we are providing / passing context parameters based on the Unique ID for generating this form.

mikes0011
Brainy
September 30, 2022

If you take the back-end outputs of a!startProcessLink(), i'm guessing you could assemble it (manually) into a URL a user could click on.  I haven't tried this exactly, so your mileage may vary - and i'd caution you that it's pretty far from a supported use case.

The Expression Guru