- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2018 04:24 PM
Hi gang,
I've got a workflow I'm building for the AD Orchestration activity "Remove user from group", and I have a catalog item that has a list of applications as variables, all with their own checkbox...so the user can select multiple applications from within the one catalog item that they want a user removed from in AD.
So what I need to do is to somehow have the workflow cycle through the orchestration activities for each application that the user needs to be removed from. Some guidance so far has indicated building an array of the applications that the user needs to be removed from in AD, and then have the workflow loop through the orchestration activities for each one...and then finish after they have all be done.
Not sure exactly how to set this up...any help would be great!
Here's an image to somewhat show what I'm trying to do. Each circle through the orchestration "loop" would remove the user from 1 AD group...and then finish when all of the selected applications from the catalog item are complete.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2018 09:06 AM
Yup, build a scratchpad array of applications that were checked, create a scratchpad var to hold a counter, right after your process failure activity check to see if the counter equals the length of the array. If not, then loop back to the remove user from AD group, increment your counter and do another check. If the counter equals the array length, then you've done your last one, go to end.
hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2018 09:49 AM
Thanks Thomas...cool solution!