Expiry Options
1 min
the expiryoptions parameter is used to configure the expiry date option when ordering a service from the activate service catalogue 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, i e service doesn't expire date \[max time] allow a date to be specified the optional argument identifies that maximum/default date that can be specified the argument can be an expression or string resolving to any valid activate timespan value (ie +30days) auto \[time] this is similar to the last option except that the user cannot specify the date the service will automatically expire at the specified time this is useful for services that you wish the user to periodically reapply for role \[type] this option allows one of the users roles to be selected the default option for the type is 'departments' this will look up the current users 'departments' roles and show them the \[type] may also be an expression resolving to a list of roles date 2021 05 25 expire on may 25th, 2021 date +30days allow any date in the next 30 days to be specified date =//service/maxexpiry get the value from a parameter on the service examples