Submitting forms on the support site are temporary unavailable for schedule maintenance. If you need immediate assistance please contact technical support. We apologize for the inconvenience.
Checking the value of accountExpires in a Workflow
Description
It is possible in a Workflow to filter or check for explicit values of the accountExpires attribute, like 0 or 9223372036854775807, using the equals or does not equal operators. However, all attempts to check a date range in a Workflow using the greater or equal or less or equal operators fails. For example, a Workflow filter which is attempting to compare the changed value of accountExpires to the value of the Workflow time plus some number of days will always fail.
Cause
This comparison must be performed against a scripted value.
Resolution
In order to compare the changed value of the accountExpires attribute to a date which is 365 days from today's date, create a script module which contains the following:
function convertTodaysDateAdd365($Request)
{
([datetime]::Today.AddDays(365)).tofiletime()
}
Perform the comparison against the value returned by this script module.
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Recommended Content
Product(s):
Active Roles
8.0 LTS
Topic(s):
Troubleshooting
Article History:
Created on: 2/15/2018 Last Update on: 5/7/2023
Thank you for your feedback for Topic Request
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Welcome to One Identity Support
You can find online support help for*product* on an affiliate support site. Click continue to be directed to the correct support content and assistance for *product*.
The One Identity Portal no longer supports IE8, 9, & 10 and it is recommended to upgrade your browser to the latest version of Internet Explorer or Chrome.