More compact workflows and compare array legth with 0

Hi all,

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:

  1. Comparison of array length with 0 works but 0 is not displayed in the comparison field (see fig. compare_numbers_zero_is_missed.png)

  2. 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.

Regards,
Giuseppe


1 Like

Having same problem in another use case(2 blocks handling same action)

To get you unstuck, you might be able to say Is Greater Than or Equal To with a value of 1.

Either way, this feels like a bug. :slightly_smiling_face:

@GiuseppeDe

Thank you for bringing this to our attention.

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.

It looks like engineering released a fix for this. I’m going to mark this as solved.