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.
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
Hello Michiel,
A common option in such situations is to create two shapes for the SET.
The two shapes can be stacked on top of each other.
Using the SHOW/HIDE option, you can make sure only the relevant SET shape is shown.
Hello Michiel,
I'm not sure if I was fully able to understand your doubt but maybe what you want is Linking a shape to a SET command using the option Trigger on Event.
Hope that this helps.