If the integration fails it will show the error in the same UI but the already entered values are missing on the UI .how can I keep those details stay on the 2nd UIT
Discussion posts and replies are publicly visible
You have to get the data from UIT 1 as process variable and pass them as input in UIT 2
When I hit submit for the 1st time ,process is getting started and it goes to 2nd UIT and shows the error .When I hit same submit button it is starting new process instance .how i can resolve it
In that case, you have to store that values in any table and use them during 2nd attempt
Resolve what?
And what do you mean with "same submit button"? You use this interface in two places, which means that the "submit" button does different things, depending on the process design.
And, important, that first UIT does not start the process, as it is part of an already active process instance which you started otherwise.
Requirement is first the form pages gets opened (first UIT ) when I click on Submit it goes through the Integration. if there are any errors in integration it goes to same UIT (with previous details of 1st UIT) and displays the error .When i click submit again during the error it it starting new process instance .(My requirement It has reiterate the form until no errors and then store in db only when there are no errors )
if you are handling the error path and UIT in same process model, then no new instance will be started, it will flow through the same process instance, so you can handle then in pv itself
OK. How do you initially start that process?
From UI when I click on New request it will open the form to enter details and with submit button
Which UI? And what method do you use?