Tom Wellige Posted July 5, 2015 #1 Share Posted July 5, 2015 Today I got the following question by PM, and going to answer it here in the forum: Hello Tom, i got the persistent variables working. But i didn't succeed in what i want to accomplice.I would like to make it possible to get a phone to ring in a group depending on a status set in the persistent variable. Is there a way to make this work? Hi there. So depending of the status of the pv you want to select another destination? select case PersVar case "1" sTarget = "123" case "2" sTarget = "456" end select with having declared sTarget previously using the "Set Variable" block or within the "Start" block. Afterwards use the "Connect To" block and enter as destination "= sTarget" (without the apostrophes). You can of course also store the destination directly into a pv and use then pv directly within the "Connect To" block, like "= PersVar" Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.