Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
1. Approach
This approach is based on the management of FDD Document based on the campaign upload requirement.
...
Info |
---|
Note
All file upload process and scheduler for slot will be processed on KFP. Upload Negative Number base:
|
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.
Dashboard Report Count:
On page load data will be the current date.
Uploaded Record : Total record in file.
Attempted Records : Total FDD other then IN PROGRESS status.Attempted Records will be more then total record if multiple slots.
Negative Upload Records : All Negative Records uploaded for campaign.
Pending Records : All FDD count IN PROGRESS status.
Scheduled Timestamp : It will reflect the list of all slots timing if we have defined timestamp in dynamic slotting. In case , we have no timestamp in dynamic slotting , then it will take scheduled time of file upload.
Status : We will show the status of campaign as :-
Scheduled - If the last request ID was scheduled in file.
Rescheduled – If the file was rescheduled
5. Re Trigger
All FDD in INPROGESS Completed - If the last slot was completed.
Negative upload - If we have uploaded any negative upload in the campaign.
Yet to process : If we add Yet To process count in Campaign manager table page will take time to load because count will fetch from mongo FDD for each request id.
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 re-trigger flag is true in FDD then we will not check slot time in execution. If re-trigger in custom slot then check custom slot.
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.