I am working on a workflow that will move users to a new OU once data changes. I have the full workflow working and is successful in moving the AD account and updating ISC to reflect the move.
Where I am running into an issue is the escape clause that if the DN’s match then skip. Where I am running into an issue is that the case of the two strings do not match. I have tried to apply an ToLower transform to the output values. I get an error message stating this is not supported.
I’ve run into this too. Compare Strings is case-sensitive, and you can’t apply a transform directly on the workflow step inputs, which is why you’re getting “not supported.”
The simplest fix inside the workflow is to add a Define Variable step before the compare, lowercase both DNs there, and compare the two variables instead of the raw values.
The other option is to normalize at the source. If your target DN comes from an identity attribute, wrap its existing transform with a lower transform so the value is always lowercase:
You’d still need to lowercase the AD side, either in the workflow or the same way on that attribute, but then the compare works as expected. I’d try Define Variable first since it keeps everything in the workflow.
You cannot use the ToLower functions inside the Workflows for Variable manipulations as its not there currently.
Therefore, if you want to compare it, i think doing it at identity attribute level using transform and then, performing the required comparison check in WORKFLOW is a fine approach.
Thank you everyone for your responses. The way I worked around this was adding a manage windows server action and call a powershell script that will do the compare and return a true or false. That result is then being used to do the compare action.