I couldn't immediately find something in the DataMiner Help, but is it possible to have a simple if/else inside a shape option.
Scenario: I want to execute a set on an element which is specified by a session variable. But depending on the status of another variable (togglebutton), I want to use a different variable for the element selection.
Michiel Oda [SLC] [DevOps Enabler] Selected answer as best 9th July 2021
Hi Michiel,
If I understood correctly your use case, a possible option could be creating two shapes (one on top of each other):
- Each shape could be linked to a session variable. If I am not mistaken you would like to use a different variable for the element selection
- Using the feature Extended conditional shape manipulation actions, you can implement the if/else condition. You can show/hide these two shapes based on the value of the toggle button
Michiel Oda [SLC] [DevOps Enabler] Selected answer as best 9th July 2021