data certification

Lbec
Tera Expert

Hello good morning,


I wanted to make a query about data certification.
I have a request that not only the assignee can certify but also a new field called delegate,
When a delegate is assigned in a businnes_app, a list type field is automatically filled in the certification task with this user.
This field was added in the Read and Write ACL that refers to the task and where it mentions the assigned field.

Lbec_0-1678288254809.png

They also have the role listed in the ACL of the cert_element table.


This is the part that still does not appear in the registry, the formatter, in its code I did not find anything about who can certify

Lbec_1-1678287147108.png

Do you have any idea where the closure can be that only the assigned can do it? I don't know what else to look at

1 ACCEPTED SOLUTION

Lbec
Tera Expert

Fixed!, I must add a condition with my role or field in the Macro cert_task_data_template

View solution in original post

3 REPLIES 3

Sankar N
Kilo Guru
  • First, you can review the business rules that govern the certification process. Check to see if there are any conditions that might prevent a delegate from certifying data, such as a specific role requirement. You can also review the script logic in the business rules to make sure it allows for the delegate to certify data.
  • Second, check the access control rules (ACRs) for the certification task record. The ACRs define the permissions that different roles have for accessing, modifying, or deleting records. Make sure the delegate role has appropriate permissions to certify data, including the ability to write to the certification field.
  • Finally, you may want to review the certification formatter code to ensure that it allows for the delegate to certify data. Look for any conditions or restrictions that might prevent a delegate from certifying data, and make any necessary modifications to the code to ensure that it allows for delegation.

I already looked at the rules and the ACLs too, modifying the necessary ones, what would be the code for the formatter? If it is the ui macro in xml format, I already looked at it and it only lists the elements, it does not put a condition

Lbec
Tera Expert

Fixed!, I must add a condition with my role or field in the Macro cert_task_data_template