On User Profile Change Do

Hey appsheet community,

happy to be part of the team I want my users to change their โ€œgroup idโ€ in their user profile. When they have changed it, I want to write the useremail + the group id into a โ€œgroupsโ€ table or update the entry when the group id has been changed again.

I played around with workflow and automation but canโ€™t find a way to trigger this action when an entry is changed in the user profile.

Really looking forward to your answer. Thank you so much already.

Cheers, Alex

0 7 260
7 REPLIES 7

Could this help?

Unfortunately thatโ€™s only possible for created tables and slices. Iโ€™d like to use the user settings table in the โ€œdataโ€ section if possible.

Steve
Platinum 4
Platinum 4

What do you mean by โ€œuser profileโ€?

Thanks for your answer. Iโ€™d like to use the user settings table in the โ€œdataโ€ section if possible.

Unfortunately, workflows can only be applied to tables that are stored in a cloud-based data source, such as a spreadsheet or database. User settings are stored on the device itself, and not subject to a workflow response. The alternative is to implement your own alternative to user settings that uses cloud-based storage, but its not a trivial thing to do.

Thank you very much for the answer Steve. I tried to come up with a solution where the new user is automatically added to a database and a view where the user can only change that entry (similar to the profile, so like a pre-filled form).

I have searched for the two questions, but couldnโ€™t find anything, can you please help out:

  • Is there a way to add a new user (USEREMAIL) automatically to a table?
  • Can I create a view where only that entry can be changed?

Thanks. Really looking forward to your answer,
Alex

Not without some sort of user interaction. To add the user, either an action must be performed (initiated by either a button press by the user or by some other data change) or a workflow must fire (prompted by a data change). Thereโ€™s no trivial way to do this, but I did suggest an approach here:

Yep! This might offer some ideas:

Top Labels in this Space