3

I was following this awesome blogpost on outcomes https://www.coreysmith.co/sitecore-xdb-custom-eras-in-experience-profile-timeline/ I created an outcome and all seems to work fine, but I should have a field Ignore Additional Registrations. I want to use it in order to make sure the outcome isn't registered multiple times.

I can find that field in Sitecore 8, but in Sitecore 9 I'm not seeing it.. I see some other new checkboxes, but not this one.

Is there another way to make sure an outcome isn't registered twice (or more) in Sitecore 9?

5
  • Is the outcome being registered programmatically? Commented Feb 23, 2018 at 17:40
  • Yes it is. But can't find a simple option there either.
    – Gatogordo
    Commented Feb 23, 2018 at 18:18
  • Then why not checking if the outcome has already been registered by the user, do not trigger it again? Commented Feb 23, 2018 at 18:19
  • In 8 there was an ootb option.. so hoping to have the same in 9.
    – Gatogordo
    Commented Feb 23, 2018 at 18:20
  • 1
    Ok best thing to do is to contact sitecore support about it to know if it has been removed or not. But as a workaround, you can have a check if the outcome is present in either the current interaction or behaviorCache via code Commented Feb 23, 2018 at 18:22

1 Answer 1

2

I contacted Sitecore support and they had the documentation updated. It now states:

AdditionalRegistrationsAreIgnored was used by the OutcomeManager and is no longer in use. Please remove this property from your code.

So there is no ootb option for this anymore. You can write this functionality yourself but be aware that other code might still register the outcome through xConnect.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.