Shortcut is not working with 2 urls after each other, it picks one only

I have this shortcut called leaving, i've set it up as follows


Turn Wi-Fi Off

Turn Cellular Data: On

Turn Personal Hotspot: Off

Set AirDrop Receiving to Off

Turn Airplane Mode Off

Turn Bluetooth Off

Do Not Disturb Off

Turn Silence Unknown Callers Off


Open URL AutoLock

prefs:root=DISPLAY&path=AUTOLOCK


Open URL Screen Time

prefs:root=SCREEN_TIME&path=CONTENT_PRIVACY


Open Google Maps


If either autolock or screen time is on top it executes the first url it comes to and ignores the second url.

If I switch Screen time to on top of Autolock, it runs but not autolock. It's either one or the other. Does anyone know why it's happening and how to fix it.?


Thanks in advance



iPhone SE, iOS 18

Posted on Oct 6, 2024 7:09 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 6, 2024 10:07 AM

Add a Wait action between the 2 Open URL action. This will give you time to change the settings for Auto Lock before the settings for Content & Privacy are displayed:


Similar questions

2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Shortcut is not working with 2 urls after each other, it picks one only

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.