Changing a value for a group of users

Currently I have an application and when I click a button I want it to do a couple things. One thing I can’t seem to figure out is how to change a value for a group of users.

So when I click the button I do a search for users. I receive a list of users. Each of those users has a number data type that I want to subtract from when I click the button. So in this case when I click the button it searches and finds user1 and user2 users 1 and 2 both have data called bet schmeckles. I want to subtract a value from that field by a set amount for both users.

So I go to my workflow and click make a change for a list of users. like shown below.

How do I make it so bet schmeckles = bet schmeckles - amount is basically what I’m asking. Do I do a search for the users again? but then how do I subtract that amount from both fields for the users.

You do exactly that…

i.e.

bet schemckels = This User's bet schmeckels - amount

thank you so much I didn’t realize this users would would like that!

1 Like

Yep…

This User in this context refers to each specific User returned in the search (the one that’s being changed).

So any time you need to make a change to a User (or any datatype) based on an existing value of that User (or any other datatype), you can use This to reference the object itself.

This topic was automatically closed after 70 days. New replies are no longer allowed.