Strategy runs on Unnamed Pages
A data flow rule is invoked in the Service REST Activity using the DataFlow-Execute activity method and Submit step page is checked on the step. A strategy is called in the Data flow rule.
On tracing the E2E execution of the Service REST, the strategy is executed on the Unnamed Pages despite the mention of a step page.
When using the Data-Decision-DDF-RunOptions.pxRunSingleCaseDDF method in the activity, the strategy is run on the step page mentioned.
Steps to Reproduce
- Invoke a data flow in the Service REST activity using the DataFlow-Execute activity method.
- Provide a step page reference.
- Check the Submit Step Page checkbox.
- Run the Service REST rule and trace it. The strategy which is invoked in the data flow is executed on the unnamed pages instead of the step page mentioned.
The DataFlow-Execute activity method used the Decision Strategy Manager (DSM) Clipboard pages instead of the regular pages when the Dynamic System Setting (DSS) dsm/clipboard/optimize is set to true. If the setting is not present in the system, then the default value is true.
Here’s the explanation for the reported behavior:
Historically, pxRunSingleCaseDDF always used regular pages on its execution. Hence, the named page passed as input is used for data flow execution.
While the DataFlow-Execute activity method used the Optimize DSS to define whether regular or DSM pages are used. Irrespective of whether this setting is set to true or is not present, it defaults to true, that is, DSMClipboardPage.
When using DSM pages the original named page is a regular page that must be converted to a DSM page for the data flow execution. During this conversion, the name is not used.