If we want to enforce a validation for the user beofre running a proess, then get the runstatus from the PSPRCSRQST table. Then using the translate values for the runstatus field, see the status of the process, based on which we can restrict the user to run the process.
Some status values are:
" " - When Process is ran first time
9 - When last process status is not equal to Success
17 - When last process status is not equal to Success with Warning
2 - When last process status is not equal to Delete
No comments:
Post a Comment