Have resource Unsubscribe instead of abort when ValidUntil expires

We have quite a few manual provisioning applications and when those are requested with a ValidUntil date set and it is exceeded the resource gets aborted and there is no record that the access was deprovisioned.  Instead if the order could be unsubscribed when ValidUntil is exceeded, the Approval policy for that product can use the Cancel workflow and send that request to the Manual provisioner for them to remove the access and all the info is in the one PWO for Audit.  Would be great if there was a configuration parameter to be able to choose what actions you want when ValidUntil expires.

Thanks,

Craig

Parents Reply Children
  • Hi Craig and Ari,

    a workaround might be not to store your overdue date in ValidUntil but in a different property and then checking for overdue yourself....

    1. Store the date in a CustomProperty field and write a script that calls the customer method "Unsubscribe" on a request
      if it is overdue with respect to that field.
    2. Create a process that calls that script upon a new custom event, e.g. CHECKOVERDUE.
    3. Create a schedule for checking overdue on a regular basis, e.g. once an hour.
    4. Create a process plan that uses that schedule to raise your custom event and thereby start your process which will call your script.

    With respect to the web portal, you might have to customize VI_ITShop_ShoppingCart_DetailPane so that ValidUntil will be hidden in favor of your CustomProperty for requests following that approach.

    Regards,
    Dennis

  • Another option would be to use the normal valid until date (+x days) and configure a daily schedule that checks if there request that are about to expire in x days and then automatically unsubscribe these.

  • Hi,

    Thank you for your replies. I myself was thinking similar procedure as Markus suggested. 

    Regards,

    Ari