Hi,
I am calling a startprocess smartservcie on submit button click in my interface.
and i have set the submit as true for that button.
So here before getting the response from smart service, interface is moving to next node in the process model.
I want to get the response and based on response need to validate the interface. If no issues, then need to move to next node in the process model.
Process model is starting asynchronously so i think whatever i am performing in onSuccess of srtartProcess, is not happening before submitting the interface.
Any suggestions on this please.
Discussion posts and replies are publicly visible
The behavior you're getting is expected - if the button has a true "SUBMIT" value and no (CURRENT) validation issues, then the form will be submitted when it's pressed. It would be pretty easy to just add this as a second button i.e. "Check readiness for Submission", which calls your extra process and gets the result back, and if the result is good, enable your main Submit button only after that.