Table of Contents

Invoking a fallback strategy


Only available versions of this content are shown in the dropdown

If a Strategy execution fails due to an exception, Pega Customer Decision Hub invokes a fallback Strategy. The fallback Strategy results in a response when a service activity is executed. To configure the required action data, save the strategy FallbackStrategy into your implementation layer.

When your Container Service exceeds the Service Level Agreement defined for the Container Service by more than a specified number of consecutive violations, Pega Customer Decision Hub invokes a fallback service activity instead of the default service activity. The fallback service activity returns the default set of actions for every request. To change the set of actions, save the FallBackContainerResponse data transform into your implementation layer and configure the default Container Service response.

A sample response from the invocation of this service is shown below:

"ContainerList": [
        {   "Status": "OK",
            "ContainerName": " TopOffers ",
            "RankedResults": [
                    "Group": "Default",
                    "Issue": "Fallback",
                    "InteractionID": "-8654833423861133119",
                    "Category": "Category",
                    "CustomerCost": "0",
                    "WhyRelevant": "WhyRelevant",
                    "Benefits": "Benefits",
                    "Direction": "Direction",
                    "Name": "FallbackOffer",
                    "ShortDescription": "ShortDescription",
                    "PaidAudienceName": "PaidAudienceName",
                    "Identifier": "Identifier",
                    "Pricing": "Pricing",
                    "JourneyStage": "JourneyStage",
                    "JourneyStep": "JourneyStep",
                    "EligibilityDescription": "EligibilityDescription",
                    "Propensity": "0",
                    "AgentCompensation": "0",
                    "Priority": "0",
                    "ClassIdentifier": "Offer",
                    "Channel": "Channel",
                    "ImageURL": "ImageURL",
                    "Rank": "1",
                    "BundleParent": "BundleParent",
                    "Variant": "Variant",
                    "Treatment": "Treatment",
                    "InternalCost": "0",
                    "CampaignID": "CampaignID",
                    "OfferValue": "0",
                    "ClickThroughURL": "ClickThroughURL",
                    "Journey": "Journey"
        } ]
Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.