a!startProcessLink() redirecting back to last clicked PM

I am using a!startProcessLink() to create four different actions from a main page. Main page is part of a process model which contains start node >> main Page (where all four start process links are configured) >> end node (configured to terminate). 

When i launch main process model it shows me page with four link e.g "A", "B", "C" & "D". I also have one "exit" button as buttonWidgetSubmit in main page. If i click on any of the link it will it will launch related PM and clicking on "Back" button will redirect to the main page. Problem is that when i click on "exit" button afterwards, process redirect me to last clicked link instead of completely exit process.

e.g.

main page  >> link "A" >> back button >> main page >> link "B" >> back button >> main page >> clicked exit will redirect me as if i clicked on link "B" and open "B"'s UI.

Any advise would be great help. 

Note: "All in tempo under Action tab"

Thanks,

Ajay Pandey

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    I've been able to build a small app where I can easily reproduce this behavior.  I think the problem errs a bit further into "unexpected behavior" territory than what you described,  - in the case of this behavior, I can see no justification (accidental or otherwise) that the "exit" button click from the main parent "action" form should invoke the related action again instead of dumping the user back to the Actions tab as expected.

    One note - I believe I've confirmed that the behavior only happens when viewing the task from the Actions tab; if, for example, I leave the task open and click over to Tasks and open it from there, the Exit button behaves as normal, regardless of whether I click into and out of either of the start process links first.

    Please see the attached app (contains all precedents and nothing overly burdensome).

    Test Activity Chaining Demo.zip

  • 0
    Certified Lead Developer
    in reply to Mike Schmitt
    I agree with you fully, Mike. The behavior is weird and has caused me to rework certain designs to avoid the issue alltogether.
Reply Children
No Data