Posted: 12 Feb 2018 7:50 EST Last activity: 13 Feb 2018 7:53 EST
Data flow not capturing results
I am very new to Pega Decisioning.
While going through the CPDC course I found that the Interaction shape which was available till Pega 7.2 is no more available in Pega 7.3. In 7.3 it is replaced by Data flows. In the interaction rule there was an option 'Write Results To' under which we can select Clipboard and mention a page name on which the data will be copied. This option is not present in data flows. Due to this I am not able to get the strategy results on clipboard page. While tracing in 7.2 I can see that when strategy is called from the Interaction rule, the step page is the page mentioned in Interaction rule. While calling the strategy rule from data flows the step page is 'unanamed'.
Options I tried
1. I tried to use various combinations in 'Output Strategy Results' but was not able to get the propositions returned by my strategy. If I use Interaction rule in 7.2 it returns the offered proposition on an independent clipboard page Customer.OfferedPropositions.
2. Tried to use the destination configurations, but I was not clear how can I map it on a independent clipboard page? Do I have to call an activity to do the mapping? If yes what should be the source page?
Request community members to explain how the strategy results can be saved on clipboard page while using data flow?
You can download the first lesson solution zip from CPDC course and try this quickly in 7.2 and 7.3
If you are in 7.3, you actually have an example out-of-the-box that can help you in understanding how to do that. Add DMSample:Administrators to your operator record, and switch to DMSample.
An example of a decision that has been converted from using interaction rules to using data flows is the Next Best Action decision. Two activities (DMOrg-DMSample-Work-CustomerDesk) underpin it, and they are both called from process flows through the utility shape:
The Next Best Action activity configures how to run the Next Best Action Decision data flow by defining a step that runs DataFlow-Execute on the Customer page with the following parameters:
Data flow: NextBestActionDecision
Submit step page: enabled
Store results in: .OfferedProposition
TheCapture Results activity configures how to run the Capture Results data flow by defining a step that runsDataFlow-Executeon theCustomerpage with the following parameters:
Data flow: CaptureResults
When using process flows, as of Pega 7.3.1, you can also use the dedicated process flow shape that integrates data flow execution directly in process flows when implementing this pattern for single case decisions.
Have a look, and let us know if you need more info.
The DMSample documentation is shipped with the product. In the context of this application, you can use the launch menu to open the Understanding Decisioning portal which contains the documentation supporting the use cases.
With regards to the activities, they were withdrawn once we replaced them with the use of the dedicated shape in process flows in Pega 7.3.1 (I assumed this was not the version, perhaps I went too far on the assumption). DMSample still uses activities to run data flows in any other cases than single case decisions.