Can you have different completeness rules for different products?

Was this article helpful?

Still need help? contact us

Comments

3 comments

  • Avatar
    Antoine Demeusy

    It seems possible to find a workaround and have completeness depending on Fieldset, can you please let me know ? 

    Thanks

    0
  • Avatar
    Steve Vink
    business solutions architect
    Word Weaver
    PIMpoint 2023 Americas
    First Responder

    Hi Antoine,

    it is not possible to base completeness on Fieldsets with the standard solution. However, it is possible to develop custom Completeness rules to facilitate this. You need a certified developer to write the code using the inriver Remoting Api.

    In summary, you could use the following logic:

    • Identify all fields that contribute to Completeness but are different between product types in your Fieldsets.
    • Your custom Completenes rule requires a setting that lists all of the contributing Field Types, across all Fieldsets.
    • When the completeness is calculated, check the Entity Fieldset. Remove all contributing Field Types, that are in at least one Fieldset but not in the current Fieldset, from your calculation.
    • Calculate the Completeness based on the remaining Field Types and your custom logic.

    Using this logic, Completeness for one product type may be based on colour, whilst for another it is based on weight.

     

    Regards,

    Steve Vink
    Principal Business Solutions Architect

    0
  • Avatar
    Antoine Demeusy

    Hi Steve, thanks a lot. 

    We created an entity "completeness" in InRiver already. For each field (attribute) we specify if this field is mandatory or not for each fieldset. So the data is already in PIM. So I guess it should be possible.

    I will  investigate this with your partner.

    Thanks

    1

Please sign in to leave a comment.