on 2022 Jan 24 3:39 PM
Hi,
we have observed the following behavior:
When we set this visibility condition - "${activity.assignmentStatus.name} == 'Akceptácia' || ${activity.assignmentStatus.name} == 'Výjazd' || ${activity.assignmentStatus.name} == 'Práca' || ${activity.assignmentStatus.name} == 'checkout' || ${activity.assignmentStatus.name} == 'Konfigurácia v ABS' || ${activity.assignmentStatus.name} == 'Zaznamenanie dát zariadenia'", on the Handover action of the Activity, then this Action is visible in the mobile Android application even for the users, which don't have appropriate permissions set in their User groups.
We have thought about the ${currentProfile}/${currentUser} variable. However it is not clear to us, how should we implement this variable into our already existing visibility condition stated higher. Our goal is to differentiate between users with User group "Partner Admin" and "Partner Technician", where only the users with group "Partner Admin" should see the action "Handover".
Thank you.
Request clarification before answering.
We have found out what we needed here - https://help.sap.com/viewer/fsm_admin/Cloud/en-US/expression-format.html, and ajusted our visibility condition like so: (${activity.assignmentStatus.name} == 'Akceptácia' || ${activity.assignmentStatus.name} == 'Výjazd' || ${activity.assignmentStatus.name} == 'Práca' || ${activity.assignmentStatus.name} == 'checkout' || ${activity.assignmentStatus.name} == 'Konfigurácia v ABS' || ${activity.assignmentStatus.name} == 'Zaznamenanie dát zariadenia') && ${currentUser.crowdType} === 'PARTNER_ADMIN'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
4 | |
3 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.