An Error alert was showing regarding Data Policy Exception on top of the Form 2 times how can we able to find from where the error was coming from

Ram141
Tera Expert

Hi Team,

Can anyone please help me on this.

one of my fellow developer created the Data Policy regarding Assignment Group Mandatory but he wasn't available currently, how can we able to find from where the data policy exception alert was showing.

Thanks,

Raj

1 ACCEPTED SOLUTION

Hi Raj,



Per my understanding Case_wo extends Case table. If so, the Data policy is on the the parent table (Case) and being applied on Case_wo table as well.


As you said, if state of any one of the above table changes (first execution), it'll change the same state of other table (second execution), that's why it is executing twice.



Hope it helps.



Regards,


NItesh Asthana


View solution in original post

16 REPLIES 16

Hi Raj - Please check the data policies which were created for the parent table. I think he might created that data policy in the task table.


Hi Raj,



The Data policy maybe applied on the parent table. Try by putting parent table name.



Looking at the documentation, I couldn't find any field where custom script can be written.



Regards,


Nitesh Asthana


Hi Nitesh,



Sorry i can't able to find data policies On Task(Parent) table also.



Thanks,


Raj


Try this,



Open sys_data_policy_rule.LIST from the left nav and put a filter for the field name(Assignment Group). You should definitively get records if you are getting data policy exception for Assignment Group field. From here you can find the Data policy.



find_real_file.png



Regards,


Nitesh Asthana


Hi Nitesh,



Every time it was showing on Work Order form so i thought that the Alert was coming from Work Order form itself but my view was wrong the Exception was coming from Case form.



The Scenario is the alert was showing twice how can we restrict alert message to show only one time.




Thanks,


Raj