Is there any concept of workflow preprocessor in Adobe AEM? I have been trying to search this feature but couldnt find any leads.
WOrkflow preprocessor can perform checks before starting the actual job based on which it can alert users and can stop the process if needed.
e.g. if a page is locked in a separate workflow job or somebody else has locked the file for editing and another user tries to initiate the workflow on same page, it will alert user that this page is locked in another job and he can not initiate another job on the same page.