VERIFIED SOLUTION i

Resolve issue where execution of content object did not return a content item in expression in Portrait Dialogue

Products Affected: Portrait Dialogue

Issue

When testing a Portrait Dialogue content object used in a message template the following error occurs:

Execution of content object 'TestContentObject' did not return a content item in expression '#_PrepareContentObject("CO1", "")'


User-added image
In which TestContentObject in the example is the name of the content object and CO1 is its key.

User-added image

Cause

The content object was not properly formulated.
It had no criteria defined but was still used in a message template.
User-added image


User-added image

Resolution

UPDATED: April 19, 2017
Defining a rule for the content item will ensure that the message template works when it is triggered.
User-added image


User-added image