Iterative process that makes changes to the user

I can’t understand why this isn’t working, can someone help me?
User has a yes/no field called test_state
Create an API workflow to change all users in yes state to no.
The contents are as shown in the screenshot
Do you have any idea what the problem is?

スクリーンショット 2024-03-13 220035



スクリーンショット 2024-03-13 220218
スクリーンショット 2024-03-13 220234

You don’t need to do all this.

Just schedule a bulk API WF where it will change the yes/no field to no

Yeah… don’t use a recursive workflow for this…

It’s insanely slow, and very costly in WU.

Either use a Make Changes to a List of Things action, to change them all in a single action (should work fine for up to about 3,000 things), or run the workflow on a list.

Unless you’re talking about more than around 40k items, in which case use a recursive workflow, but don’t change them one-at-a-time… make changes to say 1000 per run.

2 Likes

You can do this by directly using Make Changes in a List of Things or if you really want to run a backend wf like you’re doing right now then just use Schedule API Workflow on a list.

Regarding why it’s not working, its probably because of privacy rules.
User dataType is private by default and the yes/no field will not be accessible by the search.

But what is being said above by @adamhholmes @ntabs @yamada.shoji99 very much applies.
On top of that, changing all user fields yes → no is almost always an inefficient way of approaching the problem, regardless of how you do it. I would recommend checking out this method instead.

bubblers…
Is this what you mean?
But this won’t bring any change
For privacy rules, I also checked the test_state field
What’s the difference?

スクリーンショット 2024-03-14 091538

Sorry, I overlooked the privacy rule settings.
thank you