The first parameter is a $list, try with:
do ##class(%SYS.TaskSuper).ExportTasks($lb(1022,1023),"/opt/contenedor/tasks.xml")
Note that the documentation for the ExportTasks() method you linked in your post says:
List of task IDs to export $lb(1,2,3)
- Log in to post comments
