# 🎉 Alpha Platform Release - 15th November 2024

**URL:** https://community.neutrinos.com/t/alpha-platform-release-15th-november-2024/100
**Category:** Product Release Notes
**Tags:** neutrinos-alpha, alpha-release-notes
**Created:** [November 15, 2024, 4:46pm UTC](https://community.neutrinos.com/t/alpha-platform-release-15th-november-2024/100 "2024-11-15T16:46:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![doomedCode](https://community.neutrinos.com/user_avatar/community.neutrinos.com/doomedcode/32/49_2.png) [@doomedCode](https://community.neutrinos.com/u/doomedCode)
#### Post date: [November 15, 2024, 4:46pm UTC](https://community.neutrinos.com/t/alpha-platform-release-15th-november-2024/100/1 "2024-11-15T16:46:09Z")

</div>

## ✨ Enhancements

### **Case Manager**

- Ability to use [`momentjs`](https://momentjs.com/) through `ap.moment`
- Ability to use [`lodash`](https://lodash.com/docs/4.17.15) through `ap._`  
Example:

```javascript
ap._.isEmpty([1, 2, 3]);
// => false

```

```javascript
ap._.forEach(users, (user) => {
    user.dob = ap.moment(user.dob).format('YYYY-MM-DD'); // Format date of birth
});

```

- Display contextual tab title as `{ProjectName} - {CaseType}` for better readability and UX
- Updated the default row size on the alpha table to take the first option from `rowOptions` instead of defaulting to 5.
- Added an empty placeholder for columns with missing language translations in the alpha table.

### **Admin**

- Display contextual tab title as `Admin - {ProjectName} - {CaseType}` for better readability and UX
- Fixed an issue where the snackbar was showing up behind dialogs.
- Resolved incorrect display of re-attempt tasks in re-assignment filter.

### **Case Service**

- Audit API now supports pagination
- We’ve shifted the callback Hook from the Task Distributor to the Case Service, ensuring the post-hook triggers consistently for delegation.
- Audit and Case comments API now returns the total count of records in the response.

```javascript
 curl -X 'POST' \
   'https://alpha.neutrinos-apps.com/caseservice/case/instance/audit/fetch' \
   -H 'accept: */*' \
   -H 'Content-Type: application/json' \
   -d '{
   "cid": <number>,
   "getCount": <boolean>,
   "options": {
     "pageSize": <number>,
     "pageNumber": <number>,
     "filterKey": <string>
   }
 }'

```

Response schema for fetch API with count.

```typescript
    {
        response: Array,
        count: <number>
    }

```

### **Task Distributor**

We have disabled the cronjob resource from the deployment helm chart by default.  
The cronjob expression can now be configured as part of the task distributor environment variable `TD_CRON_EXPRESSION`.  
This change was made because the Kubernetes cronjob was behaving inconsistently, randomly stopping the scheduling of new cronjobs, which led to issues with the task distributor not working.

## 🐛 Bug Fixes

### **Admin**

- Fixed an issue where tasks configured for `Re Attempt` were displayed in the `Re Assign` inbox.
- Fixed an issue where the Task Assignment hook was not being called when a task was re-assigned to a user from the admin UI.

### **Dropdown Component**

- Fixed an issue where the Dropdown panel was not closing

### **Datepicker Component**

- Fixed an issue where the Date picker panel was not closing
- Fixed an issue where the date picker validation message was not translating when the language was changed.

## 💾 Database Migration (Before Upgrading)

1. [Config Service](https://bitbucket.org/bhivedevs/alpha-helm-charts/src/master/dbscripts/config-service/24.11.0.0.14-prod)
2. [Admin Service](https://bitbucket.org/bhivedevs/alpha-helm-charts/src/master/dbscripts/alpha-admin-service/24.11.0.0.8-prod)

## Env Variable Changes

- `TASK_CALLBACK_CONFIG` is no more used in the `alpha-task-distributor` service. It has been moved to the case service.

| Service Name | Env Variable Name | Description | Example |
| --- | --- | --- | --- |
| alpha-caseservice | TASK\_CALLBACK\_CONFIG | Per project task assignment notification callback URL configuration | `'{"project1": "url", "project2": "url2"}'` |
| alpha-task-distributor | TD\_CRON\_EXPRESSION | Cron expression for the task distributor allocation interval | `0 0 * * *` |

## 🐳 Docker Images

| Repository Name | Docker Image | Version |
| --- | --- | --- |
| alpha-admin-service | [neutrinos.azurecr.io/alpha/alpha-admin-service](http://neutrinos.azurecr.io/alpha/alpha-admin-service) | 24.11.0.0.8-prod |
| alpha-admin-ui | [neutrinos.azurecr.io/alpha/alpha-admin-ui](http://neutrinos.azurecr.io/alpha/alpha-admin-ui) | 24.11.0.0.5-prod |
| alpha-case-manager-ui | [neutrinos.azurecr.io/alpha/alpha-case-manager-ui](http://neutrinos.azurecr.io/alpha/alpha-case-manager-ui) | 24.11.0.0.21-prod |
| alpha-case-service | [neutrinos.azurecr.io/alpha/alpha-case-service](http://neutrinos.azurecr.io/alpha/alpha-case-service) | 24.11.0.0.5-prod |
| alpha-config-service | [neutrinos.azurecr.io/alpha/alpha-config-service](http://neutrinos.azurecr.io/alpha/alpha-config-service) | 24.11.0.0.14-prod |
| alpha-bpmservice | [neutrinos.azurecr.io/alpha/alpha-bpmservice](http://neutrinos.azurecr.io/alpha/alpha-bpmservice) | 24.11.0.0.1-prod |
| alpha-modules-server | [neutrinos.azurecr.io/alpha/alpha-module-service](http://neutrinos.azurecr.io/alpha/alpha-module-service) | 24.11.0.0.55-prod |
| alpha-workflow-studio | [neutrinos.azurecr.io/alpha/alpha-workflow-studio](http://neutrinos.azurecr.io/alpha/alpha-workflow-studio) | 24.11.0.0.36-prod |
| alpha-task-distributor | [neutrinos.azurecr.io/alpha/alpha-task-distributor](http://neutrinos.azurecr.io/alpha/alpha-task-distributor) | 24.11.0.0.46 |
