In Classic UI, the approvals and the tasks were all shown in the action dashboard, where it says "Next Steps".
Now in FreedomUI, only tasks are being shown there, no approvals. Is that the expected behavior? is there any way to show approvals there as in classic UI?
Your business task could be achieved by business process.
You can use your diagram as the base for the process.
Instead of the first Аpproval element use the [Auto-generated page]\[Pre-configured page] (or [User dialog] element), to display for required user or role, then through the flow on the second Approval element making a decision.
Your business task could be achieved by business process.
You can use your diagram as the base for the process.
Instead of the first Аpproval element use the [Auto-generated page]\[Pre-configured page] (or [User dialog] element), to display for required user or role, then through the flow on the second Approval element making a decision.
I want to filter the change approver lookup based on some conditions. I tried to find the module that is responsible for this but couldn't find it. Can anyone help me on this?
When clicking the "Change approver" button the ApprovalDashboardItemViewModel module onChangeApproverButtonClick method is called. This onChangeApproverButtonClick method calls the changeVizierAction method from the BaseVisaProvider module. Lookup opening is performed in this part of code (inside the checkRightCallback callback method):
When clicking the "Change approver" button the ApprovalDashboardItemViewModel module onChangeApproverButtonClick method is called. This onChangeApproverButtonClick method calls the changeVizierAction method from the BaseVisaProvider module. Lookup opening is performed in this part of code (inside the checkRightCallback callback method):
We are also facing the issue. We have created an approval task via the business process. While the approval task is seen in the notification center, the counter does not get increased or visible.
Please advise.
The test process creates an approval task for the current user.
After the process is triggered, the task appears for the current user, but no badge or counter is seen as highlighted in yellow.
Unfortunately we don't have a ready to use code for this task. The logic of the notification in the CTI panel is stored in the VisaNotificationsSchema module. If you need to add additional columns in this notification schema you need to insert them into the diff array of the schema. You can also study how data is received to fields like NotificationSubjectCaption or NotificationDate columns.
I wanted to implement a funtionality where a validation should happen on click of Approve button. If the valiation fails the approval should not happen.
To achive the above task I tried with the following approaches, on the "UsrReturns" custom object.
Tried to implement "asyncValidate" on "UsrReturnsVisaPageV2", but it didn't work (Seems the approval is happening outside the context of this page). Also not sure what is the use of this page.
Tried to implement validation using Entity Events Layer on the object "UsrReturnsVisa". Although it didn't approve the request, but it didn't throw the exception as well with the following code,
if(true){thrownew Exception("Can not approve");}returntrue;
Tried to implement a custom approval logic using "ApprovalDashboardItemViewModel", but I can not create a replacing schema with this.
So need a way to implement such funtionality. Any suggestions will help.
this is a bad request response returned by the app and we need to see the actual response (from the "Response" tab of the request in the "Network" tab).
To add some logic upon approval you need to replace the "approve" method in the "VisaNotificationsSchema" module (for "reject" actions its "reject" method). You will be in the context of the approval record and you can use data from there to process further with the approval\rejection. So you need to override the logic of these two methods.
Is it possible to add more info in the approvals in the right sidebar?
In the desktop application, it is possible to click to the related record (e.g. invoice) to see the detailed info, but in the mobile app it is not possible.
Therefore, I would like to add some text containing a short description:
Please be informed that at the moment, in the existing interface of mobile application approvals, it is not possible to implement such logic as you described.
A request for the implementation of this functionality has already been registered and I will also attach your request there to increase its priority.
Unfortunately, this functionality is not available in 8.0 version. But we've been informed that they will be available again with the next coming releases (8.0.1 or 8.0.2).
We have created replacing schema - VisaNotificationsSchema. In VisaNotificationsSchema we added code to hide "Reject" and "Change approver" buttons. We want to apply it for specified objects . To do it we need to retrieve object Id from Approval. Any suggestions how can we do it?
I enabled Approvals in the case section and added Approval in the business process. The problem is that counter is not increased in the notification panel but approval itself is shown in the "Approval notification".
We are also facing the same issue. Ours is not a custom code, all we do is create an approval task via business process. While the approval task is seen in notification center, the counter does not get increased.
Please advise
Test process creates an approval task for current user
After process is triggered, task appears for current user, but no badge or counter is seen as highlighted in yellow.