Skip to main content
Participating Frequently
July 29, 2021
Solved

StartprocessLink() Creating new Instance

  • July 29, 2021
  • 9 replies
  • 0 views

I have two user Input Forms(A,B) in Process Model. Form- A Enter Data, Form-B review  the data and view the uploaded files using the StartProcesLink().

When i clicks the StartProcessLink() it opens another interface with read-only. When i complete the StartProcessLink() form it navigating back to Form-A instead of Form-B?

Noticed backend when it completes the StartProcessLink() Process instance,   Creating new instance with parent process and Old parent instance still Active.

Any inputs or is this limitation?

    Best answer by mikes0011

    I think the real issue here is that you're misusing startProcessLink() ... there is pretty much no reason to use this from a form in a process instance in this context, as opposed to using a submit link and/or button, and in-process logic to handle what the value was for the user's click.

    9 replies

    acaciob0002
    July 29, 2021

    Hi there,

    I was trying to understanding your scenario, but I got a little confuse. would be easier to understand if you share some screenshots of your process model.

    Regards,

    Acacio B

    madhusudans0001
    July 29, 2021

    Your explanation is very confusing, could you please elaborate it further? Few screenshots can help.

    Participating Frequently
    July 29, 2021

    I have two user input tasks in Process Model, Once user Completes user input task1 navigates to user input task2 there is activity chaining same user can see the user Input task2. One of the grid has StartProcessLink()  in User Input task2 . when user clicks the StartPRocessLink() saving data in database.

    • Everything is working perfect up to saving the data once Data is saved showing  "Action Completed" .flow navigating  back to userInputTask1.instead of userInmputTask2.
    • Noticed backend when it completes the StartProcessLink() Process model,   Creating new instance with parent process (the process model contains both user input tasks)  and Old parent instance still Active.

    Please let me know if you need more details

    mikes0011
    mikes0011Answer
    Brainy
    July 29, 2021

    I think the real issue here is that you're misusing startProcessLink() ... there is pretty much no reason to use this from a form in a process instance in this context, as opposed to using a submit link and/or button, and in-process logic to handle what the value was for the user's click.

    The Expression Guru