When on CDH Portal with Revision Manger access group operator, I created a simulation as indicated in the documentation and another by Audience Simulation at NBA Designer. Both simulations are created but fail when running them:
Is there any special configuration needed for the operator when using Revision Management application overlays?
Notice that, if I run a simulation test from the main application there is no issue
Going by the tag, I hope you are using CDH 8.5. Kindly confirm.
There is no special configuration required either on the operator or on the access group for you to be able to access or run simulations using application overlays.
If you click on the more details link under the simulation run progress bar, it would show you the stage (or component) in which the simulation failed. To know why it failed or to see the stacktrace, you can click on the number in the ‘#Failed records’ column. Would it be possible for you to share the following details?
Screenshot of the simulation run with the error
Screenshot of the more details page showing the simulation run metrics at the data flow component level
That is the strange part is says if stops due the number of errors is above maximum allowed 0, and does not show records in any step. of the simulation. The Segment has 720 records and I have not issues counting or running it.
In which case I think you are on platform 8.5.1? There is a bug in platform 8.5.1 with simulation metrics not showing up in the detailed metrics view when you click on the ‘More details’ link. But the good news is this has already been patched in 8.5.2; so, if you could apply the 8.5.2 patch on your environment, you should see the detailed simulation metrics working.
As far as the simulation run failing is concerned, it’s hard to say without any exception logs or a stacktrace and is probably not a common scenario as well. Would it be possible for your to try testing the strategy in single case mode from the strategy canvas’ test run panel (use the same strategy for which the simulation fails) using a data transform which mocks the input data in the Data-Decision-Request-Customer class (probably use one of the customers in the segment to set-up the mock data in the data transform)?
The simulation is working fine now in the application overlay.
Seems it was related to using a property calculated using a declare expression in the engagement policies, we replace that property for a when rule when we do the computation procedurally instead of declaratively. That fixed our other issue and seems also fixed this.