From 0fe2eb746e2935dbde388e62f1d5a736a701db49 Mon Sep 17 00:00:00 2001
From: nivetha <nivetha.mariappan@tarento.com>
Date: Wed, 30 Mar 2022 12:55:24 +0530
Subject: [PATCH] activity log on application creation

---
 .../com/tarento/formservice/service/impl/FormsServiceImpl.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/com/tarento/formservice/service/impl/FormsServiceImpl.java b/src/main/java/com/tarento/formservice/service/impl/FormsServiceImpl.java
index 0172d60..3de858b 100644
--- a/src/main/java/com/tarento/formservice/service/impl/FormsServiceImpl.java
+++ b/src/main/java/com/tarento/formservice/service/impl/FormsServiceImpl.java
@@ -603,6 +603,7 @@ public class FormsServiceImpl implements FormsService {
 				incomingData.setTimestamp(DateUtils.getCurrentTimestamp());
 				incomingData.setCreatedDate(DateUtils.getYyyyMmDdInUTC());
 				indexed = formsDao.addFormData(incomingData);
+				appStatusTrack(indexed, objectMapper.convertValue(incomingData, Map.class), action, userInfo);
 			} else {
 				Map<String, Object> applicationObject = getApplicationById(incomingData.getApplicationId(), userInfo);
 				incomingData.setUpdatedDate(DateUtils.getYyyyMmDdInUTC());
-- 
GitLab