Creating a Calculate Compliance Action
Use the Calculate Compliance Action to compute a value from data retrieved from previous actions. This computation can then be used to update other fields or storage values.
The following procedure continues from step 6 in the Creating-a-license-type-by-using-basic-mode and step 10 in the Creating-a-license-type-by-using-advanced-mode sections.
To create a Calculate Compliance Action
- On the Compliance Actions page of the license type wizard, select Calculate in the Action field and click Create.
The Calculate Action dialog box is displayed. - Type a name for the Calculate Compliance Action in the Name field.
Build the expression using the controls in the toolbar above the Expression field. As you build the expression, it is displayed in the Expression field.
You can use the following fields to build your expression.
- Select the rule:
- GetCertificates — Specifies the instance ID of the certificate as a value in the expression
GetQuestions — Specifies the compliance question you select as a value in the expression
GetCertificates and GetQuestions are the default rules that appear. As you create actions, they also appear for you to select.
- Select the operator.
- Specify a free-form value in the Value field and click Add Value.
- Select the rule:
- Click Save and then click Close.
- After you have finished adding all of the compliance actions you require, click Done to complete the license type wizard.