Jump to content

Optima - Normperiode notification (OK21): Difference between revisions

From EG Wiki
Optima>Nordwing
No edit summary
 
m 1 revision imported
(No difference)

Revision as of 12:36, 14 May 2025

1. Order FTP and users as in ServiceNow: CS1804280

2. Aktivere Snapshots> Basisoplysninger> Organisation> Indstillinger> Aktiver Øjebliksbillede af plan "Sandt"

3. Deaktivere Feature toggle: Feature_PlannedHoursInHoursPeriodNotifications hvis der er tale om en "Region". Aktivere Feature toggle: FeaturePlannedHoursInHoursPeriodNotifications Hvis der er tale om en "Kommune". Der skal skrives "AKTIVER" i feltet og den vil blive slået til (Laila & Søren kan dette).

4. Check template:

4.1. Navigate to Reference Data>Notifications>Notifications and Templates

4.2. Point and Click on the Planned Hours in Hours Period Notification to open the Notification and Templates Slide In with details of the Planned Hours in Hours Period Notification

4.3. Point and click on Download Template command under the More option. This will download the template. 4.4. Make the changes to the template by translating the text.

4.5. After the file is being translated just save it under the same name and click Change Template button in the Notification slide-in panel

4.6. When prompted upload the translated notification template and save the changes.

4.7. After this each new notification should be sent translated in Danish.

4.8. Please also send us a copy of the translated template so we can get it onto our systems

Create ZD ticket for RLD after this: #914636

File:2024-03-25 10 04 22-OK21 Launch steps - OneNote.png









Manually trigger reports

To manually trigger the reports for past dates, you can select each unit and use the date one day later than the last date in the Hours Period Configuration, for example - 15.04.2024, which aligns with several previously scheduled background tasks.

For historical reports, please check the execution dates of the task "PlannedHoursInHoursPeriodNotificationsTask" (not "PlannedHoursInHoursPeriodNotificationsBatchTask"), and manually run the notifications for those dates across all units. Also, if you're running historical notifications, I advise that you start running the notifications tasks manually from the past to the future. This approach helps ensure that an employee doesn't receive an outdated notification after a correct one.

OpenShift documentation:

There are a few steps to enabling a new customer:

Order a new "_user" and _"system" ftp account for the new customer please align with the current naming scheme where applicable: PROD_optima_CUSTOMERNAME_plannedhours_user (or TEST_optima_CUSTOMERNAME_plannedhours_user for test environment)\ Add 4 new variables to octopus https://octopus.prod.internal.sd.dk/app#/Spaces-83/projects/ok21-integration/branches/refs%2Fheads%2Fmaster/variables

CustomerFtpConfig[CUSTOMERNAME].enabled -> True CustomerFtpConfig[CUSTOMERNAME].password -> PROD_optima_CUSTOMERNAME_plannedhours_system's password CustomerFtpConfig[CUSTOMERNAME].username -> PROD_optima_CUSTOMERNAME_plannedhours_system CustomerFtpConfig[CUSTOMERNAME].rootfolder -> CUSTOMERNAME_PLANNEDHOURS

Request that sd-sikkerhedsadministration@sd.dk sets the password in CustomerFtpConfig[CUSTOMERNAME].password for prod scope You may enable or disable this integration per customer using the .enabled variable true/false. Provide FTP information to the delivering party (RLDatix) ie.: Username PROD_optima_CUSTOMERNAME_plannedhours_user and password and request that they do a password change on first login. Path to which delivering party should write files ie. TO-SD/CUSTOMERNAME_PLANNEDHOURS/incoming FTP Host, (customer-test-ftp.sd.dk or customer-ftp.sd.dk depending on evnrionment), port: 22 Create release of ok21-integration through octopus, this will make a new Camel route spin up based on the 4 variables. see https://confluence.eg.dk/display/SDI/Octopus+deploy+guides Notice Before eBoks can send out anything to the employee, we need to ensure that they have an agreement with eBoks on sendouts, and that the SenderId of the Dispatch obejct (xml file) matches with an existing agreement for the customer being enabled. eBoks needs to be notified that a new customer is being added. Integration must be enabled in Optima for files to start landing in TO-SD/CUSTOMERNAME_PLANNEDHOURS/incoming.


Remember all the OneNote information!!!