I want to reuse the same function in dialog also in background, e.g. CHECK_DATA. The generation of the output list in background spool works fine, but no execution of this function. The method set_user_command doesn't work.
How I must trigger the events before_user_command, after_user_command to execute one function in background task?
Thanks in advance,