Open APIs

 View Only
Expand all | Collapse all

Product and service condition

  • 1.  Product and service condition

    Posted Apr 11, 2023 07:25

    What I understood about offer, product, cfs and rfs is that when an offer is chosen by customer, product catalog and service catalog point what services will be activated.
    I think product catalog also should store conditions to activate the offer. But characterstics are not enough to express the conditions. So where should the conditions are stored? In product catalog or in another system?



    ------------------------------
    Myagaa Nm
    MOBICOM CORPORATION LLC
    ------------------------------


  • 2.  RE: Product and service condition

    Posted Apr 12, 2023 04:26

    Hello,

    the product catalogue, as exposed by TMF 620, contains information that can be seen as "condition". For instance, cardinality of bundle components, relationships (depends, concerns, exclude etc) between product specifications or between product offerings etc.

    What conditions do you have in mind? Some examples could be helpful.



    ------------------------------
    Kind regards,

    Matthieu Hattab
    Lyse Platform
    ------------------------------



  • 3.  RE: Product and service condition

    Posted Apr 12, 2023 09:22

    Let's say for postpaid plan, it has condition like customer must not under 18. If customer is under 18, he/she not allowed to get the plan. So, where will the conditions stored in tmforum's open api?



    ------------------------------
    Myagaa Nm
    MOBICOM CORPORATION LLC
    ------------------------------



  • 4.  RE: Product and service condition

    Posted Apr 12, 2023 10:31

    That sounds like it is part of Product Offering Qualification. TMF679



    ------------------------------
    Bozidar Pasagic
    Bell Canada
    ------------------------------



  • 5.  RE: Product and service condition

    Posted Apr 17, 2023 07:59

    These kind of rules can be defined as MarketSegment. Based on SID definition MarketSegments can be simple or complex. For example, one MarketSegment may be consumer customers, one may be all states west of the Mississippi, and another may be all consumer customers who live in California, have a family income over $50,000 a year, and use the Internet regularly.



    ------------------------------
    Arash Zolfaghari
    Tecnotree
    ------------------------------



  • 6.  RE: Product and service condition

    Posted Apr 17, 2023 08:41

    Myagaa,
    Be mindful that with business rules in general you need to distinguish 2 things:
    design-time activity
    => this activity focuses on creating the rule and associating the rule to a product offering.
    such rule could be exposed via TMF 620 using its various entities, or TMF620 can just give you a referene to a business rule id (constraint Id, policy Id)

    run-time activity
    => this activity focuses on running the business rules based on the customer context (customer, sales channel, product offering, address...)

    your question being only about where to store the rules/conditions, then the answer would be:

    • the product catalogue component (the rule itself could be modelled in the product catalogue or only the rule Id)
    • the policy component (the id of the policy would only be referenced by TMF 620) as explained by Bostjan.

    some companies prefer to have all business rules in a dedicated BRMS system like the opensource Drools or a RTD system.
    some companies use business rule engines provided by their existing commerce engine or any other existing software they already bought and use.



    ------------------------------
    Kind regards,

    Matthieu Hattab
    Lyse Platform
    ------------------------------



  • 7.  RE: Product and service condition

    Posted Apr 17, 2023 08:54

    Arash,

    I would avoid as much as possible using SID entities exposed by TMF 620 API to represent eligibility rules (or any rules for that matter)
    - the TMF 620 resource model is very limited and static and companies have unlimited variations of business rules.
    - the TMF 620 resource model cannot represent any degree of complexity. Try doing "if, then else" with 620!

    Policy is the way forward and TMF620 should remain as dumb as possible and only provide a rule id and let another specialist do the job.



    ------------------------------
    Kind regards,

    Matthieu Hattab
    Lyse Platform
    ------------------------------



  • 8.  RE: Product and service condition

    Posted Apr 17, 2023 17:58
    Edited by Arash Zolfaghari Apr 17, 2023 18:02

    Thanks Matthieu,
    I would say yes, am agree with you. Specially about TMF620 should remain as dumb as possible, but, normally depending on business decisions, there are two kind of eligibility rules. First type are about rules like "some offers are defined for only customers with golden badge". Normally based on marketing decisions, they let other customers to see these offers, in order to encourage them to improve their account and get a golden badge! From my point of view these kind of rules can be handled using qualification API and referenced rules to catalogue as you rightly said.
    In this case, for instance If customer selects this offer, qualification result would return unqualified and he/she can not buy that, but still it's available while browsing the catalogue (And normally number of such offers should not be too much (for example 10 percentage, otherwise it's giving a bad sense to customers).
    And the second kind of rules are those which can (or is more efficient to) be used for filtration purpose. I mean, when i'm not eligible, then i should not see these offers while browsing the catalogue. For example let's say if i am a tourist customer, i should only see offers which are defined for me. I would say for this kind of offers, using rule is practically hard. Because API should evaluate each offer individually and if the number of offers in the catalogue are too much, then it's difficult to return a clean list of eligible offers in an acceptable response time. So i would say in this kind of cases, using marketSegment and filtering with proper parameters like GET .../productOffering?marketSegment.customerType=Tourist&&...marketSegment.gender=male&&marketSegment.age=28 and so on will work more efficiently.



    ------------------------------
    Arash Zolfaghari
    Tecnotree
    ------------------------------



  • 9.  RE: Product and service condition

    Posted Apr 17, 2023 02:43

    Hi Myagaa,
    in version 5 of TMF620 API this use-case will be realized using the Policy entity. A product offering will get a list of PolicyRefs.
    You will obtain policy details using TMF723 API (still under development). Policies are ECA rules (on event if criteria are met perform an action).

    As Bozidar wrote, TMF679 then computes policies in a given context (quote, cart, order) taking into account customer details, channel, sales rep, order/quote/cart content, existing inventory etc. In case you specify you need unqualified results when invoking the TMF679, the unavailability reason will be returned as EligibilityUnavailabilityReason.



    ------------------------------
    Bostjan Keber
    Marand, software ltd
    ------------------------------



  • 10.  RE: Product and service condition

    Posted Apr 18, 2023 01:45

    Hi Bostjan,
    Thank you for your teply. When will tmf620 v5.0 be released?



    ------------------------------
    Myagaa Nm
    MOBICOM CORPORATION LLC
    ------------------------------



  • 11.  RE: Product and service condition

    Posted Apr 18, 2023 02:04

    I believe the plan is to release v5 after Vienna SpecJam in June 2023. But it's not 100%, though.



    ------------------------------
    Bostjan Keber
    Marand, software ltd
    ------------------------------



  • 12.  RE: Product and service condition

    Posted Apr 18, 2023 03:17

    Okay. Thank you for your response.



    ------------------------------
    Myagaa Nm
    MOBICOM CORPORATION LLC
    ------------------------------



  • 13.  RE: Product and service condition

    Posted Apr 18, 2023 03:19

    Thank you who replied for the question.



    ------------------------------
    Myagaa Nm
    MOBICOM CORPORATION LLC
    ------------------------------



  • 14.  RE: Product and service condition

    Posted Apr 18, 2023 07:35

    There's an early beta of TMF620 v5 on the beta API table here: https://projects.tmforum.org/wiki/pages/viewpage.action?pageId=128855518
    but it doesn't show the incorporation of policy. However I'll give you a spoiler, basically we are removing the constraint array property and replacing it by a policy array property of type PolicyRef. The Policy entity refers to a policy rule using the Event/Condition/Action (ECA) paradigm as noted above by Bostjan.
    Hope it helps



    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
    ------------------------------