Placeholders for the Subscription Resource entity

The following placeholders are used for the Subscription Resource entity in notification templates for the following events:

  • Before subscription expiration

  • After subscription expiration

  • After subscription switched from trial to no-trial

  • Subscription changed

  • Subscription credit limit changed

  • Subscription credit limit is approaching

  • VSP resources changed

  • VSP subscription created

  • Billing day is coming

  • Billing day for manager's subscriptions has come (former Billing day has come)

  • Order created, Order changed, Resend the order.

Example of using in a notification template

The list of resources of a subscription sorted by the resource priority:

XML
<table>
    <tr>
      <td>Name</td>
      <td>Unit of measure</td>
      <td>Included</td>
      <td>Minimum</td>
      <td>Additional</td>
      <td>Used</td>
      <td>Limit</td>
      <td>Public</td>
    </tr>
    {% for resource in subscription.resources %}
    <tr>
      <td>{{ resource.name }}</td>
      <td>{{ resource.unit_of_measure }}</td>
      <td>{{ resource.included }}</td>
      <td>{{ resource.minimum }}</td>
      <td>{{ resource.additional }}</td>
      <td>{{ resource.used }}</td>
      <td>{{ resource.limit }}</td>
      <td>{{ resource.visible }}</td>
    </tr>
    {% endfor %}
</table>

Placeholder

Description

resource.name

The resource name

resource.unit_of_measure

The units of measure of a resource: Unit or Boolean

resource.included

The quantity of a resource included in a subscription

resource.minimum

The minimum quantity of a resource available for ordering

resource.additional

The additional quantity of a resource ordered for a subscription

resource.used

The used amount of a resource with Measurable = Yes (0 if not applicable)

resource.limit

The maximum quantity of a resource available for ordering

resource.visible

The value of the Public parameter of a resource: true or false