is there any ability to create a screen that runs as a process like the Generate PO Suggestions, for instance if I created a UD screen and added some code to this screen, how could I make this code execute as a process in the task agent.
create a data directive on SysTask table update, and add your custom code to do what you need, which could be invoking an update and updating records in your UD table.
Note: if you interested to know the status result then the only working status condition is the COMPLETE status in many Epicor versions, i.e. BPM trigger will fail if you add any other status condition due to the validation process time. otherwise use In-Transit