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?
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.
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.