Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
styledefault
typelist
printabletrue

...

1. Approach

This approach is based on the management of FDD Document based on the campaign upload requirement.

...

Info

Note

  • If no slot is selected at the time of uploading the file then FDD will create without slot and work the same as current flow.

  • Time Slot Functionality will be working only for those campaigns uploaded from our system.

  • We are provisionally proposing limiting the maximum number of time slots in one day to 2 and the campaign will be scheduled only for at the most 30 days.
    Slot time must be under working time (Flow working time).
    If the csv file contains the schedule time field and campaign created in slot then schedule time will be slot start time that means ignore schedule time fields.

  • If the number of records processed within a given slot are more than the slot time then the records which are not processed within slot time will be considered as failed.

All file upload process and scheduler for slot will be processed on KFP.

Upload Negative Number base:

  • Negative numbers uploaded will be stored in Mysql corresponding to request_id

  • When the negative numbers are uploaded the corresponding entries will be updated in the respective FDDs and will also check if the numbers are already queued in KP awaiting execution.

  • When the scheduler runs to create FDD for subsequent days (at 00:00 hours) we will check the negative number repository for corresponding request_id and will not create FDD.

  • Need to maintain negative file upload for reporting.

  • Check negative base using local cache when upload slot data.

3. Flow Execution

During execution on KP, we will perform all essential checks as currently practiced, including verifying the slot time. If the execution time falls outside the designated slot time, the task will be marked as a failure (out of slot time). We will not reschedule the task, even if reattempts and rescheduling within the next business hours are defined in the flow.

4. Reports

There will be no changes required in the approach for EOD and raw reports. Currently, EOD reports are generated based on the FlowExecutionAttemptDetailDocument start time. Raw reports are generated based on start time, phonon_uuid, request_id, and other relevant numbers.

...

Campaign Details : All count will be fetch from mongo document it will be take time.

5. Retrigger

All FDDs with statuses such as IN PROGRESS, PARTIAL COMPLETE, etc., will be re-triggered for execution. This means all these FDDs will be placed in a queue for execution, and their scheduled time will be updated accordingly. A new flag will be added to the FDDs to indicate re-triggered records.

...

If we have scheduled time in slots then retriggering is possible only after the scheduled time in the slot ends. And if there is no timestamp given in the slots then business hours will be counted and we can retrigger only after the business hour time ends. Retrigger will be disabled if the data is in processing . The retriggering will be enabled only the data processing is completed if the data is in progress then on next day (after business hours) we can retrigger.

NOTE : A separate service will be required specifically for this re-triggering feature.

While clicking delete button (which is for revoking campaign ) , it will change the status of campaign on UI. It will show cancelled instead or rescheduled etc. Also, after revoking, the other actions buttons must be disabled (non-clickable) for that particular revoked entity.

The four main tabs on Campaign manager will show the records( uploaded/ attempted / negative upload / pending) of the whole day of all slots on that day instead of showing the data for the specific request IDs or flows that we search for. For particular entries, we will get the data in below tables.