In our BP - codelist - we are only to able add fixed run task with a fixed argument.
The external TP sends files in with the following namingsconvention. filename..
Our internal TP wants to have a trigger when this file has been delivered at their system.
This trigger is normally done with run task.
The script looks like this : run task
(DOTHIS PGM) sysopts $Destination_filename
Filetransfer file_x is successful -> run task (dothis) file_x
Filetransfer file_y is successful -> run task (dothis) file_y
Filetransfer file_z is successful -> run task (dothis) file_z