11-17-2008 01:07 PM
Solved! Go to Solution.
11-19-2008 08:47 AM
Hello Jason,
In the "Step Description Expression" box you could do something like:
"Operation: " +
(
Step.TS.SwitchEnabled ?
(
Step.TS.SwitchOperation==1?
"Connect " + " | Route(s): " + Step.TS.RouteGroupConnect:
(
Step.TS.SwitchOperation==2?
"Disconnect"+ " | Route(s): " + Step.TS.RouteGroupDisconnect:
(
Step.TS.SwitchOperation==3?
"Disconnect All":
(
Step.TS.SwitchOperation==4?
"Connect/Disconnect" + " | Route(s) Connect: " + Step.TS.RouteGroupConnect + " | Route(s) Disconnect: " + Step.TS.RouteGroupDisconnect:
"Error"
)
)
)
)
:"Switching not enabled"
)
It is a bit confusing because SwitchOperation is a number that corresponds to an operation so that's why we have the nested conditional statements.
Let me know if you have any questions.