Description
Use this task to find core objects (for example, soft tokens), that will expire within a given time. It is the parametrized version of the functionality, that already exists in a bean configuration. For more information, see ExecuteSearchAndProcessSearchResultsAction.
Configuration
To use this task, configure the following delegate expressing in your service task:
${coreObjectExpiryCheckParameterizedTask}
The following parameters can be configured in PRIME Designer:
Parameter | Mandatory | Default value | Description |
---|
coreTemplateNameList | |
| Comma separated list of core template names that shall be the base of the search. |
fieldName | |
| Name of the data pool field that indicates the expiration date, for example, ValidTo. The data pool must belong to the core template(s) mentioned above. |
offsetInDays | |
| The offset in days before the related core objects expire. The base is the ValidTo field. If you provide a value for offsetInDays, then logically it is ValidTo - offsetInDays = dateToFindSofttoken - If dateToFindSofttokens is still in the future compared to the currentDate, then the soft token will not be found.
- If dateToFindSofttokens is equal to the current date or if it is in the past, then the soft tokens will be found.
Example: Expiry date of a soft token is 31st March 2017. If the offsetInDays is set to 30, the service task will only find the soft token with the beginning of 1st March 2017. |
coreObjectIdListVariableName | - | CoreObject_Ids | Name of the variable containing the core objects that were found during the search. It contains only the core object ids. Example: PcmDpCertificate_Coreobjects |
Meta_CoreObjectState_Field | |
| Name of the data pool field that indicates the state of the core object. The data pool must belong to the core template(s) mentioned above. Example: Meta_CoreObjectState_PstmDpCertificate or Meta_CoreObjectState_BaseDpEmployee |
Meta_CoreObjectState_Value | |
| The actual state that shall be used for filtering the search. Example: issued, active etc. |