ExpiryOptions Parameter
The ExpiryOptions parameter is used to configure the expiry date options when ordering a Service from the Activate Service Catalogue.
Available Options
All
Allow all valid expiry options. This is the default value if not specified.
None
Do not allow expiry to be set.
Permanent
Allows no expiry to be an option, meaning the Service does not expire.
Date:[Max Time]
Allow a specific date to be set. The optional argument specifies the maximum or default date allowed. This argument can be an expression or string resolving to any valid Activate timespan value (e.g., +30days).
Examples:
- Date:+30days — Allow any date in the next 30 days to be specified.
- Date:=//Service/MaxExpiry — Retrieve the value from a parameter on the service.
- Date:2021-05-25 — Expire on May 25, 2021.
Auto:[Time]
Similar to Date:[Max Time], but the user cannot specify the date. The Service will automatically expire at the specified time. Useful for Services that should require periodic reapplication.
Role:[Type]
Allows one of the user's roles to be selected. The default type is Departments. This will look up the current user's Departments roles and display them. [Type] may also be an expression resolving to a list of roles.