Reply to Message

View discussion in a popup

Replying to:
SeanKohler
Expert
Expert

With no alternative for hijacking Change Lease in 6.1, decided to just do Approval Policies to limit lease selection capability for two use cases in a single business group:

1. Leases for a specific type of Blueprint Name.  (e.g. Contains "POC").

2. Leases that are requested for greater than 1 year from today (which is a moving target because tomorrow is today, tomorrow... lol).

The first one is possible.  The second one appears not to be.

For the first one, if "POC" exists in the Blueprint name for the Item that was Provisioned, it is kicked over for Approval as expected.  And this is wonderful.

POCPolicy.jpg

For the second one... not so good.

POCPolicy2.jpg

If you use Lease, it just looks at the current lease days on the machine and applies the policy based on a gt/lt/eq/!eq condition of that number.  Has nothing to do with the request only with the present state.  And there is no Requested Date field to select from.  I don't think the conditions are tied in any way to the Action the Policy is placed on.

POCPolicy3.jpg

Anybody have a real example where the request data itself is pulled and/or any kind of conditional capabilities around dates?

Reply
0 Kudos