I'm trying to cancel a task / profile (I'm new so I think the right term is task) if I have an ongoing call. Incoming or outcoming call is irrelevant, just any call = abort task.
No need for stop action in current task or global variable,just a profile with its own task with only stop all tasks action and high priority. After current action in the first task is done,all tasks will be stopped.
View all comments
2
u/Sate_Hen Oct 19 '26
Set up a profile with the state call any that sets a global variable (eg %Call to 1). You'll need to set an exit task that clears the variable
Stop actions in your task with the if statement if %Call is set