Automation Engine activity type not retrieving custom facetAutomation Engine can't find custom predicateSitecore Contact expires using out of process session handlingContact Custom facet not appearing in ListManagerThe type of this instance does not correspond to any type in the modelCustom marketing automation activity does not work in Sitecore 9.0.1How to add Activity Type in Marketing Operation actions tab?Custom predicate: YourLinqIsTooStrongException in CreateContactSearchQuery functionExperience Profile custom facet retrieval errorAutomation Engine can't find custom predicateQuestions extending custom facet codeSitecore 9.0.2 Marketing Automation is not working
Will the volt, ampere, ohm or other electrical units change on May 20th, 2019?
How to make a not so good looking person more appealing?
Can only the master initiate communication in SPI whereas in I2C the slave can also initiate the communication?
Do not cross the line!
Why is it harder to turn a motor/generator with shorted terminals?
Segmentation fault when popping x86 stack
What information exactly does an instruction cache store?
Given 0s on Assignments with suspected and dismissed cheating?
Were any toxic metals used in the International Space Station?
How to disable Two-factor authentication for Apple ID?
Offered a new position but unknown about salary?
Mark command as obsolete
Problem in downloading videos using youtube-dl from unsupported sites
Polynomial division: Is this trick obvious?
Can a tourist shoot a gun for recreational purpose in the USA?
Is there any good reason to write "it is easy to see"?
Unexpected Netflix account registered to my Gmail address - any way it could be a hack attempt?
Why doesn't Iron Man's action affect this person in Endgame?
Automation Engine activity type not retrieving custom facet
How to not get blinded by an attack at dawn
Do we have C++20 ranges library in GCC 9?
Biology of a Firestarter
Wireless headphones interfere with Wi-Fi signal on laptop
Use of さ as a filler
Automation Engine activity type not retrieving custom facet
Automation Engine can't find custom predicateSitecore Contact expires using out of process session handlingContact Custom facet not appearing in ListManagerThe type of this instance does not correspond to any type in the modelCustom marketing automation activity does not work in Sitecore 9.0.1How to add Activity Type in Marketing Operation actions tab?Custom predicate: YourLinqIsTooStrongException in CreateContactSearchQuery functionExperience Profile custom facet retrieval errorAutomation Engine can't find custom predicateQuestions extending custom facet codeSitecore 9.0.2 Marketing Automation is not working
I have a custom activity type in Marketing Automation that is being processed correctly in the MA journey, however I am unable to retrieve a custom facet from the IContactProcessingContext in the Invoke() method.
The custom facet is configured in xConnect and, as far as I can tell, the relevant JSON models and DLLs are deployed. xConnect collects and stores the facet with no issues and I can see the custom facet data in an xConnect ODATA query.
On the Automation Engine I have:
- Model DLL in automation root
- Activity type DLL in automation root
- Activity type registration XML in rootApp_DataConfigsitecoreMarketingAutomation
- Collection Model registration XML in rootApp_DataConfigsitecore
Both of the XML files have the filename format sc.xxxx.xml as per here
The model registration XML is being picked up by the engine because I made a change and it errored on startup.
Sitecore version 9.1 initial release. Running local dev environment.
Model registration is as per below:
<Settings>
<Sitecore>
<XConnect>
<Services>
<XConnect.Client.Configuration>
<Options>
<Models>
<CustomModel>
<TypeName>Foo.Foundation.Models.xConnectModels.CollectionModel, Foo.Foundation.Models</TypeName>
</CustomModel>
</Models>
</Options>
</XConnect.Client.Configuration>
</Services>
</XConnect>
</Sitecore>
</Settings>
Facet retrieval in Activity Type:
string memberFacetKey = Foo.Foundation.Models.xConnectModels.MemberInfo.DefaultFacetKey;
string personalInfoFacetKey = PersonalInformation.DefaultFacetKey;
//Null result:
MemberInfo memberInfoFacet = context.Contact.GetFacet<MemberInfo>(memberFacetKey);
//Results returned:
PersonalInformation personalInfoFacet = context.Contact.GetFacet<PersonalInformation>(personalInfoFacetKey);
Any suggestions as to what I need to do in order to get the Automation Engine to find the custom facet ?
contact-facets marketing-automation
add a comment |
I have a custom activity type in Marketing Automation that is being processed correctly in the MA journey, however I am unable to retrieve a custom facet from the IContactProcessingContext in the Invoke() method.
The custom facet is configured in xConnect and, as far as I can tell, the relevant JSON models and DLLs are deployed. xConnect collects and stores the facet with no issues and I can see the custom facet data in an xConnect ODATA query.
On the Automation Engine I have:
- Model DLL in automation root
- Activity type DLL in automation root
- Activity type registration XML in rootApp_DataConfigsitecoreMarketingAutomation
- Collection Model registration XML in rootApp_DataConfigsitecore
Both of the XML files have the filename format sc.xxxx.xml as per here
The model registration XML is being picked up by the engine because I made a change and it errored on startup.
Sitecore version 9.1 initial release. Running local dev environment.
Model registration is as per below:
<Settings>
<Sitecore>
<XConnect>
<Services>
<XConnect.Client.Configuration>
<Options>
<Models>
<CustomModel>
<TypeName>Foo.Foundation.Models.xConnectModels.CollectionModel, Foo.Foundation.Models</TypeName>
</CustomModel>
</Models>
</Options>
</XConnect.Client.Configuration>
</Services>
</XConnect>
</Sitecore>
</Settings>
Facet retrieval in Activity Type:
string memberFacetKey = Foo.Foundation.Models.xConnectModels.MemberInfo.DefaultFacetKey;
string personalInfoFacetKey = PersonalInformation.DefaultFacetKey;
//Null result:
MemberInfo memberInfoFacet = context.Contact.GetFacet<MemberInfo>(memberFacetKey);
//Results returned:
PersonalInformation personalInfoFacet = context.Contact.GetFacet<PersonalInformation>(personalInfoFacetKey);
Any suggestions as to what I need to do in order to get the Automation Engine to find the custom facet ?
contact-facets marketing-automation
add a comment |
I have a custom activity type in Marketing Automation that is being processed correctly in the MA journey, however I am unable to retrieve a custom facet from the IContactProcessingContext in the Invoke() method.
The custom facet is configured in xConnect and, as far as I can tell, the relevant JSON models and DLLs are deployed. xConnect collects and stores the facet with no issues and I can see the custom facet data in an xConnect ODATA query.
On the Automation Engine I have:
- Model DLL in automation root
- Activity type DLL in automation root
- Activity type registration XML in rootApp_DataConfigsitecoreMarketingAutomation
- Collection Model registration XML in rootApp_DataConfigsitecore
Both of the XML files have the filename format sc.xxxx.xml as per here
The model registration XML is being picked up by the engine because I made a change and it errored on startup.
Sitecore version 9.1 initial release. Running local dev environment.
Model registration is as per below:
<Settings>
<Sitecore>
<XConnect>
<Services>
<XConnect.Client.Configuration>
<Options>
<Models>
<CustomModel>
<TypeName>Foo.Foundation.Models.xConnectModels.CollectionModel, Foo.Foundation.Models</TypeName>
</CustomModel>
</Models>
</Options>
</XConnect.Client.Configuration>
</Services>
</XConnect>
</Sitecore>
</Settings>
Facet retrieval in Activity Type:
string memberFacetKey = Foo.Foundation.Models.xConnectModels.MemberInfo.DefaultFacetKey;
string personalInfoFacetKey = PersonalInformation.DefaultFacetKey;
//Null result:
MemberInfo memberInfoFacet = context.Contact.GetFacet<MemberInfo>(memberFacetKey);
//Results returned:
PersonalInformation personalInfoFacet = context.Contact.GetFacet<PersonalInformation>(personalInfoFacetKey);
Any suggestions as to what I need to do in order to get the Automation Engine to find the custom facet ?
contact-facets marketing-automation
I have a custom activity type in Marketing Automation that is being processed correctly in the MA journey, however I am unable to retrieve a custom facet from the IContactProcessingContext in the Invoke() method.
The custom facet is configured in xConnect and, as far as I can tell, the relevant JSON models and DLLs are deployed. xConnect collects and stores the facet with no issues and I can see the custom facet data in an xConnect ODATA query.
On the Automation Engine I have:
- Model DLL in automation root
- Activity type DLL in automation root
- Activity type registration XML in rootApp_DataConfigsitecoreMarketingAutomation
- Collection Model registration XML in rootApp_DataConfigsitecore
Both of the XML files have the filename format sc.xxxx.xml as per here
The model registration XML is being picked up by the engine because I made a change and it errored on startup.
Sitecore version 9.1 initial release. Running local dev environment.
Model registration is as per below:
<Settings>
<Sitecore>
<XConnect>
<Services>
<XConnect.Client.Configuration>
<Options>
<Models>
<CustomModel>
<TypeName>Foo.Foundation.Models.xConnectModels.CollectionModel, Foo.Foundation.Models</TypeName>
</CustomModel>
</Models>
</Options>
</XConnect.Client.Configuration>
</Services>
</XConnect>
</Sitecore>
</Settings>
Facet retrieval in Activity Type:
string memberFacetKey = Foo.Foundation.Models.xConnectModels.MemberInfo.DefaultFacetKey;
string personalInfoFacetKey = PersonalInformation.DefaultFacetKey;
//Null result:
MemberInfo memberInfoFacet = context.Contact.GetFacet<MemberInfo>(memberFacetKey);
//Results returned:
PersonalInformation personalInfoFacet = context.Contact.GetFacet<PersonalInformation>(personalInfoFacetKey);
Any suggestions as to what I need to do in order to get the Automation Engine to find the custom facet ?
contact-facets marketing-automation
contact-facets marketing-automation
edited 3 hours ago
andyp
asked 4 hours ago
andypandyp
1867
1867
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The Marketing Automation engine requires you to define custom facets that will be available when the contact is evaluated. You will need to patch in your custom facet to the IncludeFacetNames section of the sc.MarketingAutomation.ContactLoader.xml config
You would need to add the MemberInfo facet to the IncludeFacetNames. You could create a patch file sc.(patch name).xml and it would look something like this:
<Settings>
<!--
Marketing Automation contact loader configuration
-->
<Sitecore>
<XConnect>
<MarketingAutomation>
<Engine>
<Services>
<MarketingAutomation.Loading.ContactFacetsConfigurator>
<Options>
<IncludeFacetNames>
<MemberInfo>MemberInfo</MemberInfo>
</IncludeFacetNames>
</Options>
</MarketingAutomation.Loading.ContactFacetsConfigurator>
</Services>
</Engine>
</MarketingAutomation>
</XConnect>
</Sitecore>
</Settings>
Further Documentation is provided in the "Ensure facets are loaded" section
https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/create-an-activity-type.html
Thanks George, that was the final piece to get it working.
– andyp
1 hour ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "664"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f18657%2fautomation-engine-activity-type-not-retrieving-custom-facet%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The Marketing Automation engine requires you to define custom facets that will be available when the contact is evaluated. You will need to patch in your custom facet to the IncludeFacetNames section of the sc.MarketingAutomation.ContactLoader.xml config
You would need to add the MemberInfo facet to the IncludeFacetNames. You could create a patch file sc.(patch name).xml and it would look something like this:
<Settings>
<!--
Marketing Automation contact loader configuration
-->
<Sitecore>
<XConnect>
<MarketingAutomation>
<Engine>
<Services>
<MarketingAutomation.Loading.ContactFacetsConfigurator>
<Options>
<IncludeFacetNames>
<MemberInfo>MemberInfo</MemberInfo>
</IncludeFacetNames>
</Options>
</MarketingAutomation.Loading.ContactFacetsConfigurator>
</Services>
</Engine>
</MarketingAutomation>
</XConnect>
</Sitecore>
</Settings>
Further Documentation is provided in the "Ensure facets are loaded" section
https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/create-an-activity-type.html
Thanks George, that was the final piece to get it working.
– andyp
1 hour ago
add a comment |
The Marketing Automation engine requires you to define custom facets that will be available when the contact is evaluated. You will need to patch in your custom facet to the IncludeFacetNames section of the sc.MarketingAutomation.ContactLoader.xml config
You would need to add the MemberInfo facet to the IncludeFacetNames. You could create a patch file sc.(patch name).xml and it would look something like this:
<Settings>
<!--
Marketing Automation contact loader configuration
-->
<Sitecore>
<XConnect>
<MarketingAutomation>
<Engine>
<Services>
<MarketingAutomation.Loading.ContactFacetsConfigurator>
<Options>
<IncludeFacetNames>
<MemberInfo>MemberInfo</MemberInfo>
</IncludeFacetNames>
</Options>
</MarketingAutomation.Loading.ContactFacetsConfigurator>
</Services>
</Engine>
</MarketingAutomation>
</XConnect>
</Sitecore>
</Settings>
Further Documentation is provided in the "Ensure facets are loaded" section
https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/create-an-activity-type.html
Thanks George, that was the final piece to get it working.
– andyp
1 hour ago
add a comment |
The Marketing Automation engine requires you to define custom facets that will be available when the contact is evaluated. You will need to patch in your custom facet to the IncludeFacetNames section of the sc.MarketingAutomation.ContactLoader.xml config
You would need to add the MemberInfo facet to the IncludeFacetNames. You could create a patch file sc.(patch name).xml and it would look something like this:
<Settings>
<!--
Marketing Automation contact loader configuration
-->
<Sitecore>
<XConnect>
<MarketingAutomation>
<Engine>
<Services>
<MarketingAutomation.Loading.ContactFacetsConfigurator>
<Options>
<IncludeFacetNames>
<MemberInfo>MemberInfo</MemberInfo>
</IncludeFacetNames>
</Options>
</MarketingAutomation.Loading.ContactFacetsConfigurator>
</Services>
</Engine>
</MarketingAutomation>
</XConnect>
</Sitecore>
</Settings>
Further Documentation is provided in the "Ensure facets are loaded" section
https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/create-an-activity-type.html
The Marketing Automation engine requires you to define custom facets that will be available when the contact is evaluated. You will need to patch in your custom facet to the IncludeFacetNames section of the sc.MarketingAutomation.ContactLoader.xml config
You would need to add the MemberInfo facet to the IncludeFacetNames. You could create a patch file sc.(patch name).xml and it would look something like this:
<Settings>
<!--
Marketing Automation contact loader configuration
-->
<Sitecore>
<XConnect>
<MarketingAutomation>
<Engine>
<Services>
<MarketingAutomation.Loading.ContactFacetsConfigurator>
<Options>
<IncludeFacetNames>
<MemberInfo>MemberInfo</MemberInfo>
</IncludeFacetNames>
</Options>
</MarketingAutomation.Loading.ContactFacetsConfigurator>
</Services>
</Engine>
</MarketingAutomation>
</XConnect>
</Sitecore>
</Settings>
Further Documentation is provided in the "Ensure facets are loaded" section
https://doc.sitecore.com/developers/91/sitecore-experience-platform/en/create-an-activity-type.html
answered 2 hours ago
George TuckerGeorge Tucker
513139
513139
Thanks George, that was the final piece to get it working.
– andyp
1 hour ago
add a comment |
Thanks George, that was the final piece to get it working.
– andyp
1 hour ago
Thanks George, that was the final piece to get it working.
– andyp
1 hour ago
Thanks George, that was the final piece to get it working.
– andyp
1 hour ago
add a comment |
Thanks for contributing an answer to Sitecore Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f18657%2fautomation-engine-activity-type-not-retrieving-custom-facet%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown