I have built a workflow to remove all roles (max 50 roles) and access profiles (max 100 in 2 steps).
For the tests I have performed the workflow works.
I noticed 2 things:
Comparison of array length with 0 works but 0 is not displayed in the comparison field (see fig. compare_numbers_zero_is_missed.png)
the workflow has 2 branches in which the same operations are performed (see fig. branches_do_the_same_things.png), in my opinion it would be useful to introduce an operator of the type MultInput- SingleOutput, so as to simplify the workflows and especially to facilitate maintenance.
It’s appears to be a UI bug. I have reproduced this on my tenant. If you specify 0 in the second value, it won’t appear next time you click on the compare numbers step. If you use a non-zero value, then it will appear next time you click on it. However, the backend still honors the zero, even though it doesn’t appear, and the workflow will continue to work correctly.
I have opened a ticket for the engineering team to fix this.