I have a Tracker capture program that has two events, the entity and the first event is created by the first user and the second event is created by another user.
I used the following pattern to generate tracked entity attribute id:
ORG_UNIT_CODE(…) + “-” +CURRENT_DATE(dd-MM-yyyy) +"-"+ RANDOM(*******)
when the first user creates the entity and the first event and try to sync so it appears at the second user to create the second event the data gets synced without any error, but when the second user try to create the second event and try to sync it doesn’t get synced showing up the following error:
value does not match the attribute pattern
as in the following screenshot:
why? is it an issue? do I need to shorten the pattern? or is using a lot of characters in the pattern not a good idea?