Question
Updating of Adaptive Model
Hi all,
Is my conclusion justified that the only way to run and update an adaptive model on a case to case base is by calling a data flow via an utility in the process flow?
My current implementation is like this:
- A process flow for a single case type
- In this process flow I've included an utility shape to run an activity with method: Call Data-Decision-DDF-RunOptions.pxRunSingleCaseDDF. In this dataflow my "determine recommendation" decision strategy is included
- After some other actions in my UI I've included another utility shape to run an activity with the same method, leading to my "capture results" decision strategy.
With this implementation both my Interaction History and Adaptive Model get updated, but it feels a bit devious to do it like this via data flows. Is there a way to achieve the same results by using interaction rules?
Thanks in advance!
Hi
You can still use interaction rules through the "Run Interaction" shape or via an activity. Although not explicit in the rule form, they can invoke Adaptive. This is documented on PDN, e.g. https://pdn.pega.com/sites/pdn.pega.com/files/help_v731/procomhelpmain.htm#rule-/rule-decision-/rule-decision-interaction/main.htm.
However the preferred way is to use a data flow. With this approach you are flexible in where to send the strategy results: to IH, to the customer movie, to Adaptive, to data sets of your own, etc. The documented patterns for headless decisioning might help, see e.g. https://pdn.pega.com/headless-decisioning-beginning-pega-722/headless-decisioning-beginning-pega-722.
Regards
Otto