Unable to remove user from the PTC PDMLink Module group in Windchill PDMLink 11.X

  • Published: 2020-11-03

  • ​​Unable to remove user from the PTC PDMLink Module group in Windchill PDMLink 11.X

  • The user is even thou part of member License Exlusion group still a member of PTC PDMLink Module group 

  • Same user (e.g. publisher) picks up several license entries (usage count), e.g:

  • ​​License calculation are not not in sync

  1. Execute in Windchill shell:

    xconfmanager -s "wt.org.immediateCalculationOfLicenseMembers=true" -t codebase/wt.properties -p

  2. Restart Windchill, clear Tomcat and Compiled-tasks caches

  3. Run WINDU --> 

    Determines number of entries in Membershiplink and ScheduleQueueEntry table for License Group
    E.g.result:

    ************************************************************************
    Property wt.org.immediateCalculationOfLicenseMembers is set to true
    ************************************************************************
    ************************************************************************
    Execute LicenseGroupMembershiplinkRT 
     To delete 86 records from MembershipLink table 
     And 1 records from ScheduleQueueEntry.
    ************************************************************************
  4. Run WINRU --> 
    Membershiplink and ScheduleQueueEntry entries deletion for License Group Result: ================== Summary For ScheduleQueueEntry And Membershiplink Tables ================== Total number records deleted from ScheduleQueueEntry table <for targetMethod createLicenseGroupMembershipLinks> are:: 1 Total number records deleted from MembershipLink table for IdA3A5[Role-A] are:: 86 ================== End of Summary ScheduleQueueEntry And Membershiplink Tables ==============
  5. Clear Participant cache:
    Site -> Utilities -> Participant Administration -> Actions -> Purge Participant Cache

    Result: The group PTC PDMLink Module License have been removed: