cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

If User Disconnected alert mail notification triggered from windchill

SARAN
7-Bedrock

If User Disconnected alert mail notification triggered from windchill

HI Team,

 

If User disconnected from windchill, Windchill system immediately send the mail notification. or If user profile modified any mail alert enable it possible?

 

I tried to the below Article, but it is not working immediately, If we need to trigger one action that user against then it will send the mail.

 Article - CS55124 - How to configure the email notification for disconnected principal in Windchill PDMLink. 

 

ACCEPTED SOLUTION

Accepted Solutions
AndrewMichaelAr
6-Contributor
(To:TomU)

Correct, users are only flagged as Disconnected Participants either when they try to log into Windchill, or when there's some change to Teams and Groups they're members of. Constantly querying LDAP would not only be a huge drain of resources for the Windchill server, but for the LDAP server as well.

Also, since changes in Team and Group memberships are done in the background using the CtmdRecomputeMembershipQueue, the repairNeeded flag will only be toggled once the particular entry in the queue is processed, which depends entirely on the number of entries in the queue, And the same goes for the EmailQueue for that matter. So there's always going to be some gap between the time a user gets marked as Disconnected and when the Windchill Administrator is notified about it.

As a rule, the vast majority of Disconnected Participants are simply users that have left the company, so log-in failures aren't really an issue. There are infrequent cases where a user is Disconnected because they were moved to a different LDAP branch. When things like this happen, the user will often open a help desk ticket before the Windchill Administrator even has a chance to review the email. And whenever this does happen, you can quickly determine the source of the problem by comparing the user's Distinguished Name as it appears in Windchill to the Distinguished Name in the Windows "Active Directory Users and Computers" MMC snap-in. 

Here's the Tl;dnr summary: The primary reason to get email notifications about Disconnected Participants is simply to keep ahead of repairing/deleting them before they start building up and impacting performance. It's usually not critical to act on these emails immediately, but instead set up some email rule to move them to a specific folder and then go through the folder once a day to clean up the Disconnected Participants that are reported. And of course, it's still a Best Practice to do a weekly search for Disconnected Participants to ensure that too many are building up. 

View solution in original post

3 REPLIES 3
TomU
23-Emerald IV
(To:SARAN)

I don't think you are going to get immediate notifications.  Windchill isn't constantly scanning all of the user accounts in the system to see if they still exist in the LDAP.  I'm pretty sure a particular user's LDAP entry is only being queried if they are actively doing something in Windchill, or something else referencing their account is being viewed or modified (group, etc.)  Testing is probably the easiest way to prove this out.

AndrewMichaelAr
6-Contributor
(To:TomU)

Correct, users are only flagged as Disconnected Participants either when they try to log into Windchill, or when there's some change to Teams and Groups they're members of. Constantly querying LDAP would not only be a huge drain of resources for the Windchill server, but for the LDAP server as well.

Also, since changes in Team and Group memberships are done in the background using the CtmdRecomputeMembershipQueue, the repairNeeded flag will only be toggled once the particular entry in the queue is processed, which depends entirely on the number of entries in the queue, And the same goes for the EmailQueue for that matter. So there's always going to be some gap between the time a user gets marked as Disconnected and when the Windchill Administrator is notified about it.

As a rule, the vast majority of Disconnected Participants are simply users that have left the company, so log-in failures aren't really an issue. There are infrequent cases where a user is Disconnected because they were moved to a different LDAP branch. When things like this happen, the user will often open a help desk ticket before the Windchill Administrator even has a chance to review the email. And whenever this does happen, you can quickly determine the source of the problem by comparing the user's Distinguished Name as it appears in Windchill to the Distinguished Name in the Windows "Active Directory Users and Computers" MMC snap-in. 

Here's the Tl;dnr summary: The primary reason to get email notifications about Disconnected Participants is simply to keep ahead of repairing/deleting them before they start building up and impacting performance. It's usually not critical to act on these emails immediately, but instead set up some email rule to move them to a specific folder and then go through the folder once a day to clean up the Disconnected Participants that are reported. And of course, it's still a Best Practice to do a weekly search for Disconnected Participants to ensure that too many are building up. 

Hello @SARAN

 

It looks like you have some responses from some community members. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

Announcements


Top Tags