Not able to get Notification and Approval Section Mobile App
Hi Team
We are trying to generate notification Using Academy Article as everything shows successful but no notification was generated
For Approval we tried adding section to mobile but nothing was found in section
These are only option available can anyone suggest some workaround over this
Thank You So Much
Like
Hello Braj,
I'll share here the answer that I provided regarding the approvals case so the community has access to this information as well.
In order to be able to use approvals in the mobile app you would need to follow these steps:
1) You need to run the 3 scripts that will be at the end of the message. This will enable some features needed for this functionality.
2) Then you need to flush (clear) the cache of the Redis server and restart the pool application of the site.
3) Before adding the approval detail to a section in the Mobile application wizard, you need to make sure that approvals are enabled for this section in the main Creatio site. In order to do that, you need to open the Section wizard at the desired section, and you will see the possibility to enable approvals for this section.
4) Then you can open the Mobile application wizard and open the desired workplace. There you can open the desired section, select "Details setup" and click on "New detail". There you will be able to select the Type, and here is where you can select the approval that you desire.
After that you can log out and log in at the mobile app, and verify the changes.
DECLARE @featureCode varchar(max) = 'UseMobileApprovals',
@featureId uniqueidentifier;
set @featureId = (select top 1 Id from Feature where Code = @featureCode);
IF @featureId is null
BEGIN
insert into Feature
(Name, Code)
values
(@featureCode, @featureCode);
set @featureId = (select top 1 Id from Feature where Code = @featureCode);
END;
delete from AdminUnitFeatureState where FeatureId = @featureId;
insert into AdminUnitFeatureState
(SysAdminUnitId, FeatureState, FeatureId)
values
('A29A3BA5-4B0D-DE11-9A51-005056C00008', 1, @featureId);
DECLARE @featureCode varchar(max) = 'UseMobileApprovalPushNotifications',
@featureId uniqueidentifier;
set @featureId = (select top 1 Id from Feature where Code = @featureCode);
IF @featureId is null
BEGIN
insert into Feature
(Name, Code)
values
(@featureCode, @featureCode);
set @featureId = (select top 1 Id from Feature where Code = @featureCode);
END;
delete from AdminUnitFeatureState where FeatureId = @featureId;
insert into AdminUnitFeatureState
(SysAdminUnitId, FeatureState, FeatureId)
values
('A29A3BA5-4B0D-DE11-9A51-005056C00008', 1, @featureId);
DECLARE @featureCode varchar(max) = 'UseMobileFlutterApprovals',
@featureId uniqueidentifier;
set @featureId = (select top 1 Id from Feature where Code = @featureCode);
IF @featureId is null
BEGIN
insert into Feature
(Name, Code)
values
(@featureCode, @featureCode);
set @featureId = (select top 1 Id from Feature where Code = @featureCode);
END;
delete from AdminUnitFeatureState where FeatureId = @featureId;
insert into AdminUnitFeatureState
(SysAdminUnitId, FeatureState, FeatureId)
values
('A29A3BA5-4B0D-DE11-9A51-005056C00008', 1, @featureId);
Best regards,
Dariy
Bogdan,
Hi Bogdan,
It has been 20 days.
Please do check over this as client is escalating this
Thank You
Braj Raj singh Kushwaha,
hope this finds you well.
Unfortunately, we are unable to investigate this issue without having access to the instance. We have requested external access from you but never heard back. Kindly get back to us with the external access provided so that we could look into this.
Best regards,
Anastasiia
Hello Braj,
the notifications weren't working because the feature UseMobilePushNotifications wasn't enabled. After activating it, I have tested the business process and I could succesfully receive a push notification.
Best regards,
Dariy
Hello Braj,
I'll share here the answer that I provided regarding the approvals case so the community has access to this information as well.
In order to be able to use approvals in the mobile app you would need to follow these steps:
1) You need to run the 3 scripts that will be at the end of the message. This will enable some features needed for this functionality.
2) Then you need to flush (clear) the cache of the Redis server and restart the pool application of the site.
3) Before adding the approval detail to a section in the Mobile application wizard, you need to make sure that approvals are enabled for this section in the main Creatio site. In order to do that, you need to open the Section wizard at the desired section, and you will see the possibility to enable approvals for this section.
4) Then you can open the Mobile application wizard and open the desired workplace. There you can open the desired section, select "Details setup" and click on "New detail". There you will be able to select the Type, and here is where you can select the approval that you desire.
After that you can log out and log in at the mobile app, and verify the changes.
DECLARE @featureCode varchar(max) = 'UseMobileApprovals',
@featureId uniqueidentifier;
set @featureId = (select top 1 Id from Feature where Code = @featureCode);
IF @featureId is null
BEGIN
insert into Feature
(Name, Code)
values
(@featureCode, @featureCode);
set @featureId = (select top 1 Id from Feature where Code = @featureCode);
END;
delete from AdminUnitFeatureState where FeatureId = @featureId;
insert into AdminUnitFeatureState
(SysAdminUnitId, FeatureState, FeatureId)
values
('A29A3BA5-4B0D-DE11-9A51-005056C00008', 1, @featureId);
DECLARE @featureCode varchar(max) = 'UseMobileApprovalPushNotifications',
@featureId uniqueidentifier;
set @featureId = (select top 1 Id from Feature where Code = @featureCode);
IF @featureId is null
BEGIN
insert into Feature
(Name, Code)
values
(@featureCode, @featureCode);
set @featureId = (select top 1 Id from Feature where Code = @featureCode);
END;
delete from AdminUnitFeatureState where FeatureId = @featureId;
insert into AdminUnitFeatureState
(SysAdminUnitId, FeatureState, FeatureId)
values
('A29A3BA5-4B0D-DE11-9A51-005056C00008', 1, @featureId);
DECLARE @featureCode varchar(max) = 'UseMobileFlutterApprovals',
@featureId uniqueidentifier;
set @featureId = (select top 1 Id from Feature where Code = @featureCode);
IF @featureId is null
BEGIN
insert into Feature
(Name, Code)
values
(@featureCode, @featureCode);
set @featureId = (select top 1 Id from Feature where Code = @featureCode);
END;
delete from AdminUnitFeatureState where FeatureId = @featureId;
insert into AdminUnitFeatureState
(SysAdminUnitId, FeatureState, FeatureId)
values
('A29A3BA5-4B0D-DE11-9A51-005056C00008', 1, @featureId);
Best regards,
Dariy