I need to set the openAppWhenRun:Bool dynamically in App Intent. Eventhough I set this way. the app does not open when run the shortcut automation.
static var openAppWhenRun:Bool { myNumber == 4 ? true : false }
Selecting any option will automatically load the page