I would like to be able to make an API call in Bridge to generate a list of all groups/groupIDs that a user is a member of. To my knowledge, this can only be done for me as the "current user" at this time.
Sign in to see the current vote count, add your own vote, or leave a comment.
Unfortunately there isn't an easy way to do this over a single endpoint. As you've seen, getting a user doesn't provide the groups. Getting a group provides the members, but it's not a filterable/searchable list.
I'm assuming you want to sweep down a list of users and find this for a set of people?
Without using Javascript, you could do this natively in Bridge like below. Warning though, it will be slow.
PARENT WORKFLOW
CHILD WORKFLOW 1
CHILD WORKFLOW 2
JAVASCRIPT
BTW, to see how to write Javascript to return a formatted array to do Add Row - check the post here. You may or may not need the "chunking" function described in this, and don't need the Resource Management pieces, but you'll see in the Javascript code that there's a section that takes the data and formats it into an array of row objects to pass along to Add Rows. Your row objects, instead of using toTop: true as the row location specifier, should use the {"parentId": xxxxx, "toBottom": true} format to insert the rows underneath the row that has your user listed in a sheet. You'll need the rowId for parentId, that comes from your user data.
https://community.smartsheet.com/discussion/97621/use-javascript-in-bridge-to-efficiently-import-data-from-an-api
I have a workflow with nearly 40 automations, half of which are email-based requests for updates with various sets of triggers. While I know the automations work, due to months of testing, when our system went live to the institution, I became very worried that the automations wouldn't run and I'd have no idea whether or…
Description: When users upload multiple photos in one action via the Smartsheet iOS mobile app, all files are assigned the same generic name and timestamp. This makes it difficult to identify individual photos and creates confusion in workflows that rely on accurate, unique file naming. Why This Matters: Industry Standard:…
I am proposing bringing a bit of pizzazz to Smartsheet by having celebratory animations for certain criteria. Think Joyful Animations in Outlook! My team was hoping to have some sort of confetti pop/gif/image when we close out a project or hit a milestone. Bonus points if it is configurable like the automations are.