I have a query and editing a record from this query is handled by a process. And in this process I use the "EDIT" command to edit the selected record. Now after this command I do a few validations. If one of those validations fails I display a message and then restart the same process. But when the "EDIT" command is executed again I get the message "Unable to edit/view unresolved object". So it seems Aware IM lost the record I originally selected from the query.
My construction of restarting the process might not be a "clean" solution, but I have no idea how to solve this otherwise. I can't put these validations in rules because I need to validate several business opbjects based on eachother's results. In addition, these validations should only be executed for this particular process and not always.
How should I handle this kind of functionality?