We have a sent functionality having "Appian Group" in the To field. Group have users and it is working fine in our DEV and SIT environment.But the problem is, not working and getting this error in UAT and PROD environment alone.
I gone through some existing threads and they suggested to use toemailrecipient() function. We didn't use, but it is working good in DEV and SIT. So, please suggest what could be teh problem with higher environments.
Problem: An error occurred in executing an Activity Class.
Details: No valid recipients resolved
Recommended Action: Examine the activity class to correct the error and then resume.
Priority of this problem: High Priority
Discussion posts and replies are publicly visible
Does this group have any members on UAT/PROD?
Yes, it sync with AD group and AD group have user in it. But in DEV and SIT, there is no AD group sync and it have users added to the Appian group directly
The AD group having members, does not proof that the groups in Appian also have members. Did you check that in Appian?
As per my understanding, AD group is in sync with Appian groups. Because, there are 3 roles in the application and all their segregation of access is reflected based on 3 AD groups. Field level accesses are reflected based on AD group members. The email will be sent to the members of 1 of the AD group. If access reflected, why it is not resolving the email. Please advice
This inherently has nothing to do with AD. You need to check the Appian group itself and verify whether or not there are members in it. The error in question doesn't care about the source of the group's membership, just whether there are any actual appian users in it (they can be direct or indirect members, but either way, they have to show up when you view the group itself).
I checked through my Infra support and found that the Appian users are created as indirect user in the Appian group from AD group in both UAT and PROD. So, users are present in the Appian group which used in the Tofield in the Send email step. But still it sends the error email.
By any chance are you fetching only direct members of the group. and in Lower enviornments users are direct members and in higher enviornments they are not.
As per the logic, Email will be sent to Appian Group1. Users will be added in Appian Group2 either directly or through AD group Sync. Then, Group 2 will be added to Group1. So, in all 4 environments, members are indirect only. Still having the Issue.
Is there anything in the logs?
Then, could it be that the initiator of that process does not have permission to see the members of these groups? Did you check the group security settings?