Hello again Ludovic,
I have just noticed that an Association Specification resource is defined in detail in TMF662 Entity Catalog Management API... I have a couple questions about it, please bear with me as I lay out my observations before asking the questions.
ObservationsWhen I follow the series of compositions, I get the following:
EntitySpecification -> EntitySpecificationRelationship (with "relationType" and "role" attributes) -> AssociationSpecificationRef
And separately:
AssociationSpecification -> AssociationRoleSpecification (with "entityType" and "role" attributes).
entityType is defined as follows: "A string. The target (root) entity type associated with this role."
Also, when I look in the Json representation sample of an AssociationSpecification, I find the following (see the last line in the excerpt below):

So TMF622 already assumes the existence of a Policy Management API...
Questions:
1. It seems to me that according to the typical patterns used in TMF APIs, the "entityType" attribute of the AssociationRoleSpecification should be replaced with an entitySpecificationRef that 'points' to an EntitySpecification resource. Would you agree?
2. My understanding is that the "role" attribute of the EntitySpecificationRelationship will be used only when there is no AssociationSpecification used. However, if association (with constraints) is desired, then the role will be specified by the AssociationRoleSpecification, and we get the following series of compositions:
EntitySpecification -> EntitySpecificationRelationship (no "role" attribute) -> AssociationSpecification -> AssociationRoleSpecification (with "entityType" and "role" attributes).
In here the "entityType" in fact points back to the EntitySpecification.
Is my understanding correct? Won't you agree that the definition of role in this case is a bit over complicated?
3. The Policy Management I quoted above, is it indeed the same as the Policy Rule Management you mentioned in your original reply?
Thank you and best regards,
------------------------------
Opher Yaron
Proximus SA
------------------------------
Original Message:
Sent: Aug 22, 2022 11:45
From: Opher Yaron
Subject: Association Specification in TMF701 Process Flow Management API
Hello Ludovic,
Thank you, it is clear.
A Policy Rule Management API will indeed be very useful.
Best regards,
------------------------------
Opher Yaron
Proximus SA
Original Message:
Sent: Aug 22, 2022 11:25
From: Ludovic Robert
Subject: Association Specification in TMF701 Process Flow Management API
Hello Opher
AssociationSpecRef is a "placeholder" to associate the relationship to policy rule (Probably we could change in future AssociationSpec to PolicyRule). The relationship is conditional and depends on the policy rule. The team is working to deliver a Policy rule management API (TMF723) in future and we have plan to integrate it in other APIs (as optional).
From a business perspective, you could have rule(s) at ProcessFlowSpecification or TaskFlowSpecification that specify if another ProcessFlowSpecification/TaskFlowSpecification should be triggered. Example - in the process order Capture (Process flow specification definition) if the party in not yet registered in your system (policy rule) then the party Creation process must be triggered (relationship to another Processflow specification).
Hope it helps
Ludovic
------------------------------
Ludovic Robert
Orange
My answer are my own & don't represent necessarily my company or the TMF
Original Message:
Sent: Aug 22, 2022 06:08
From: Opher Yaron
Subject: Association Specification in TMF701 Process Flow Management API
Hello experts,
In TMF701 the resource models of both ProcessFlowSpecification and TaskFlowSpecification include an AssociationSpecRef class that is pointed to from ProcessFlowSpecificationRelationship/TaskFlowSpecificationRelationship respectively.
I do not find a definition of Association Specification, and do not understand what information it is supposed to represent, as the relationshipType itself is already included in the ProcessFlowSpecificationRelationship/TaskFlowSpecificationRelationship class.
What do I miss?
Thank you,
------------------------------
Opher Yaron
Proximus SA
------------------------------