Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Objectives

Synchronize S-360 Invalidated or Cancelled tickets with TIXNGO tickets.

Nominal behavior of the function

How does the function collect & process cancelled/invalidated tickets?

The function will only process tickets matching the following criteria:

  1. Tickets status in S-360 is CANCELLED or INVALIDATED
  2. Tickets have been previously injected into TIXNGO.
  3. Tickets are matching function schedule filters (shipment mode, …)
  4. Tickets have not been already processed by any other TIXNGO Push Controlled function.

How does the function synchronize the controlled tickets into TIXNGO?

  • If the controlled tickets are successfully synced with TIXNGO, tickets won’t be processed again by the function
    NOTE: Already synced tickets can be processed again by the function,
    • if the function is configured to send all tickets since a specific date by using the "Date from" parameter
    • if the function is configured to force a specific list of tickets by using the "Force Ticket Tax Numbers" parameter
  • If there is an error preventing all tickets to be synced with TIXNGO properly (TIXNGO or TIXNGO interface errors), tickets will be processed again during the upcoming executions. 
    NOTE: An error indicating the origin of the failure will be present in the function execution logs.
  • If most of the tickets are successfully synced but a few encounter errors, the successfully synced tickets won’t be processed again. The function will continue to show an error until a corrective action is performed: either by actively skipping the problematic tickets OR by fixing the issue.
    NOTE: An error indicating the origin of the failure will be present in the function execution logs.

How to create or configure the Push Controlled function?


This batch pushes the cancelled and invalidated tickets to TIXnGO.

The tickets pushed are all the ones that:

  1. Have been injected
  2. Have been cancelled/invalidated
  3. Comply with the filter (shipment mode)
  4. Have not been already pushed by that function for that given interface


Recommended frequency

Every 5 minutes.

Date from

Can be used to force the sending of all cancelled tickets as if the last successful execution of the function was at the given date..

Do not use it if you don't understand clearly the usage, it may trigger thousands of unwanted notifications on remote cell phones.

Batch size

Recommended value: 1000

Ticket visibility rule

S-360 is pushing cancelled and invalidated tickets using an TIXnGI Api parameter called showDeletedTicket which defines its visibility.

The visibility for deleted tickets is following the rules:

  1. if the cancellation cause is in the list of overrideVisibilityFlagForInvalidationReasons (default value: empty), the the visibility is true. (showDeletedTicket =true)
  2. Else, if the checkbox "Notify spectator" is checked, the the visibility is set to true. (showDeletedTicket =true)
  3. Else default visbility is used. Default: false (showDeletedTicket =false), Can be altered using custom parameter: visibilityFlagDefaultValue
  • No labels