Uploaded image for project: 'Content Translation Extended (CTX)'
  1. Content Translation Extended (CTX)
  2. EXCONTRANS-196

Submission Process - Ability to submit requests to GlobalLink after user completes submission wizard

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • 2.0
    • 2.0
    • None
    • None
    • Scrum Sprint 8

    Description

      E.g. resubmission/partial submission/re-open workflow, limitation of batch size, usage of “getAllRemainingTranslationTargets”, etc. --> review with TDC

      You shall use the method getCompletedTargetsByDocument to retrieve the completed target document tickets.
      e.g.
          //** 1. Get the targets for a specific source document(s) - Best option
          //* 1a. Ticket by ticket (documentTicket)
          String documentTicket = "the_document_ticket";
          Target[] targets = pdClient.getCompletedTargetsByDocument(documentTicket, 9999);
          //* 1b. Array of documentTickets
          String[] documentTickets = {"document_ticket_1","document_ticket_2",[...]"document_ticket_n"};
          Target[] targets = pdClient.getCompletedTargetsByDocuments(documentTickets, 9999);

      If you prefer to use the submission tickets rather than the document tickets, you may use the method getCompletedTargetsBySubmission. It also takes either a string or an array of strings.You can keep querying a submissionTicket or a documentTicket until all target items have been delivered. Once you have done that it is recommended to run a getCompletedTargets method to harvest any re-opened submissions (due to a redelivery process).
      e.g.
          //** 2. Get the targets for a specific project - (recommended for redelivery and lite API)
          String shortcode = "the_short_code";
          Project project = pdClient.getProject(shortcode);
          Target[] targets = pdClient.getCompletedTargetsByProject(project, 9999);

      The method isCompleted(submissionTicket) may not be appropriate here as for productivity purposes it is more convenient to import the content as soon as it is completed.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              trung.luu Trung Luu
              trung.luu Trung Luu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR

                  Time Tracking

                    Estimated:
                    Original Estimate - 2d
                    2d
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 2.5h Time Not Required
                    2.5h