Hi all. Is there a way to grab the “current device” in a way similar to “current user”? Trying to find a way to add the device that is in use to another data type.
If anyone has the same issue, here’s the workflow that solved it for us (chronologically):
- Set the expression current user’s devices as a mobile view state.
- Request push notification permissions.
- If step 2 is yes, schedule backend workflow in 10 seconds (remember to ignore privacy rules) with current mobile view’s state in an existing devices parameter and current user in a user parameter.
In the backend workflow: Make a change to the relevant thing (in our case we’ve called the data type nativeConnectedDevice with a device field). In the device field, we entered this expression:
user’s devices:minus list existing devices:first item
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.