Getter for Scenario to set default Scenarios #278
Replies: 1 comment 1 reply
-
Hi @dschibster - that seems reasonable to me! When I originally added the method As far as a Default Scenario field, I think it would make sense for that to be a new field on I've created a new issue, #279, to track this enhancement. I think I can included it in the next release, |
Beta Was this translation helpful? Give feedback.
-
Hi there @jongpie!
I am in the middle of cleanup project, and want to get to use Nebula Logger to finally get some transparency about when automation go awry. One thing I want to use extensively is the scenario feature. However, I think that when you enter Apex from a Component, it's pretty easy to set one, but not so much when you run a basic update from UI. The thing is, I was thinking if setting a Default Scenario in these cases would be wise, which I wouldn't be able to do right now because I wouldn't be able to inspect the Scenario at runtime without fiddling in the code.
What do you think about the option of adding a Default Scenario, and what would you say about adding a getter to check if we need to set one in our Triggers?
Beta Was this translation helpful? Give feedback.
All reactions