This rule is used to lock users whose password has been assigned randomly by the system without it having been modified within a given time frame (2 days by default). This automatic assignment is carried out when creating a user or when assigning a password in case a user has forgetten their password, whenever a password is mandatory (this is defined by the PASSWD user parameter).
This Workflow rule is a manual one (the Workflow is launched either directly or in batch mode).
It triggers :
a message.
an action.
This Workflow rule, that runs through the user table to check their characteristics, should be run in batch with a frequency connected with the allocated time (every day if this time is expressed in days).
The additional triggering criteria are the following :
If all these conditions are met, then the password has not been modified since it was assigned.
The recipient definition is performed as follows :
The Workflow rule triggers the following action :
Action code | Triggering |
---|---|
AWRKUPDFLD : Update fields | Line |
This action updates fields of one of the tables on line. Here, it is the AUTILIS table, identified by its abbreviation AUS, and the field in question is the USRCONNECT field (connection authorization), forced to 1 (No).