Hi Everyone,
I have two process models p1 and p2. In p1 there is a user input tasks which opens the interface. In this interface there is a save button which runs the p2, but when p2 completes it is not refreshing the interface variables. I am using the refreshAfter param in refreshvariable function. Can anyone please help me out.
Discussion posts and replies are publicly visible
Did you consider to just submit the task, run p2, and then return to that user input task?
Rahul009 Are you using startProcessLink() to initiate P2?Also can you share code snippet of refreshvariable and save button once.
Hi Stefan Helzle , Yes p1 process opens the task form, which has save button which runs the p2 process when the p2 completes it returns to the user input form again.
Hi Shubham Aware , can we use startProcessLink in button widget to display it as buttom. I am currently using startprocess in savinto param of button.
I mean, run do that from the process model. Not from the interface.
ok, meaning close the form and the run p2 from p1 process? But this will close the form and we dont need to close it in order to display users the changes done.
Correct. But why is that bad? Using Appian processes to guide users through a business process is the sole nature of Appian. Trying to cramp everything into a single user interface might be the thing with other platforms, but with Appian, we don't have to.