I am trying to assign security to an AD group but I want to check that the AD group exists before attempting to assign security to it. To accomplish this my goal was to use the Find Group activity and if it was unable to find it then notify the LF admin to create the AD group & skip over the assign security portion. The issue I've found is that if the Find Group activity is unsuccessful it just terminates. While I understand I can use a Try-Catch and still use this method, it would be much cleaner if we had the option to not terminate the activity if no group is found and if we could have a Results Found token that is either true or false. I imagine this could also be useful for Find User but I can't speak to that directly. Anyone else found another way of checking if a group exists without using a Try-Catch?
Question
Question
"Find Group" Activity Needs "Results Found" Token
Answer
I'll add it to our to-do list. (You can safely assume that all Workflow feature requests are recorded for future consideration even we don't always update the post to indicate so).
This feature will probably end up being slightly more complicated than adding the token since that behavior modification would impact currently running workflows that assume the activity will error out when it doesn't find a user.
I agree on the issue. It'd be great if there was maybe a checkbox in the activity's settings that let you choose whether to terminate the activity if nothing is found and have it set to unchecked. This would allow existing WF's to use it in the same manner as before and allow new implementations to utilize this added functionality. Thanks for the response.