Dear community,
I am wondering which role the current active selection plays in an If then else procedure step.
According to the help
https://help.board.com/v14/docs/execution-flow-action-group#if-then-else
, the selection context existing (user profile, screen selection, Pager's selections…) when the step is run should apply, see the quote in bold below.
To configure this step, proceed as follows:
1. […] You can also apply a specific selection to the condition by clicking the “SELECT” button. In the case that a selection is already applied, the "SELECT" button will read as "EDIT SELECTIONS". In this case, the active selection will be ignored and the comparison will be performed only on the data related to the members included in your custom selection.
However, my experience is different:
- I have one cube having four dimensions: {year, username, process step, process role}.
- The if-then-else step checks:
- if cube = 0 → Then GroupA → Else Group B.
- no select is set here
- The select context when the procedure starts is one cube cell. Each dimension is selected on one member only, e.g. Year = 2026.
- The cube has already values existing on the slice previous Year = 2025 for the user running the procedure.
- When the procedure runs, the debugger shows the correct context selection and using debugger layout view, i see that the cube's value used by the If-then-else is 0´. So i expect the step to drive into GroupA.
- However, the if-then-else step doesn't run into GroupA but into GroupB.
- If i delete manually the value stored on the slice previous Year = 2025 and run the procedure again, then the if-then-else step does run into GroupA 😯. The same applies if values exist for other tuples outside of the procedure step selection context…
So i am a bit lost here. I was thinking i can use the if-then-else on a very dynamic way playing on the context selections.
Right now, i have the impression i must define as many if-then-else steps as the combinations (tuples) i drive the business process on 🤔. I hope I am missing something.
Many thanks for you help in advance,
—
Version 14.4