Skip to main content
March 18, 2022
Question

Clicking on cancel button on sub form called through startprocesslink refresh the mainform

  • March 18, 2022
  • 4 replies
  • 0 views

Hi,

I am having 2 interfaces (Form A and Form B).

Calling form B from form A through startprocesslink. If click cancel button then form A get refresh with new instance.  Save click is working well.

How to fix this?

Regards,

Khan

    4 replies

    mikes0011
    Brainy
    March 18, 2022

    Can you clarify what the problem is here? 

    i.e. What behavior were you expecting, and what behavior are you seeing instead?

    The Expression Guru
    March 18, 2022

    Form A is parent table data and Form B is child table. Form A have prepopulated data in it. clicking on start process link on Form A opens Form B which have 2 buttons save and cancel. Any action on either of these 2 button is closing form B with save button returning to Form A with same state and data preserved whereas cancel click is returning to new empty form A.

    mikes0011
    Brainy
    March 18, 2022

    the behavior of startProcessLink is such that when the started process ends, the user is returned to the original interface they started from.  it is an assumption that the data on that interface will be reloaded/refreshed upon return from the started process.

    The Expression Guru
    harshitb6843
    March 18, 2022

    Hi there,

    You can call from B inside form A and then handle the visibility using the showWhen parameters. 
    That way, you will not need the process and the data will also not refresh.