How to pass a variable from Dude notification to the script? I’m trying to set the value as a global variable but it doesn’t work. Put $a gives an empty result.

Dude v6 - SMS notification through another ROS - using ssh-exec - step 5-6
Dude Notification
# Define Subject
:global notificationtext "Service [Probe.Name] on [Device.Name] is now [Service.Status]"
# Run script
system script run SMS-Notification-smspilot.ru
ROS Script
# Define subject
:global notificationtext "$notificationtext"