/tasks/import and /tasks/export endpoints always stay in "STILL IN PROGRESS" status

/tasks/import and /tasks/export never finish and always stay in "STILL IN PROGRESS" status (same for UI and API). Is there a prerequisite for using these that we may be missing? 

Screenshot of a WorldServer Developers forum interface showing a 'Create Project Package' dialog box with the status 'In Progress' and no last message displayed.



Generated Image Alt-Text
[edited by: RWS Community AI at 2:29 PM (GMT 1) on 4 Sep 2024]
  • Hi Cecilia,

    The export completion time is depending on the package size and also the availability of background engines.

    The fact that it never completes could indicate issues with the environment, or the allocated number of background.

    It is relatively easy to check: in the UI, go to Assignment -> Background jobs; in the dropdown select "all active jobs" and see if other tasks are being processed (if yes, approximate how many).

    The task you want to export should be present in that list with the Job ID like in the API call (example from your screenshot: 1049).

    Also check "all completed and cancelled jobs" if there are tasks with Failed status, and see the execution log for details.

    If the list is of items to be processed is too long, but you notice that some of them advance, then you'll probably want to increase the number of background engines.

    If none of the items is processed, there is a possibility that no background engine is configured for the WSXI UI. The documentation here: https://docs.rws.com/binary/975503/1067030/worldserver-11-8-user-documentation/worldserver-v11-8-0-install-guide should be useful (page 51 - worth checking even if it's not a clustered environment)

    Best regards,

    Adrian