Example - Creating a site license type (basic mode)
To create a custom license type in basic mode
- From the Application Administration Console, click the Custom Configuration tab.
- From the Application Settings list, select Asset Management > Advanced Options > Configure License Type, and then click Open.
The Configure License Type dialog box appears. - Click Create.
- Update the Create License Type page as follows:
- Select Global as the company.
This makes the license type available to all companies. Enter Site Example as the name for the license type.
- Enter the following description for the license type: Example site license that includes all software from a manufacturer being used by a specific site.
By default, the status is set to Draft. - For Groupable, select No.
For License Type Mode, select Basic.
The following figure shows what the Create License Type page should look like:

- Select Global as the company.
- Click Next.
- Update the Connection Questions page as follows:
- For Question, enter text that prompts for the product name: Enter certificate site.
- For Field Type, select Char.
- For the CI Grouping, select Computer System.
You select Computer System instead of Software because computer systems, and not CIs, are usually updated with Site, because there are typically fewer of them. - Click the Sequence up arrow to make the sequence 1.
The following figure shows what the Connection Questions page should look like with the information filled in:
- Click Add, and then click Next.
- Update the Map Connection Attributes page of the license type wizard as follows:
- For the CI Type, select Computer System.
- For the Attribute, select the database name, in this case Site.
This mapping needs to be made so the system can return the list of computer systems that have a site name that matches the site name entered (in answer to the connection question created earlier) when the certificate is created. The next sections in this example show you how to build the compliance questions and actions that are used to determine compliance. - Click Map Attribute.
The following figure shows Connection Mapping:
- Click Next.
- On the Compliance Questions page that appears, build the first compliance question as follows:
- Enter the following question: Number of products deployed.
- For Field Type, select Int.
- For Sequence, select 1.
This indicates the sequence in which the question is asked when the license certificate is created. - Since this compliance question is updated later by an update action, select Yes for Computed Value.
- For Field Visibility, select Visible Read/Write.
The field visibility needs to be set to read/write access because this field is updated by a value entered when the license certificate is created.
The following figure shows the Compliance Questions page:
- Click Add.
The question is added to the list.
- Click Next.
The next section of the example shows how to create the actions that work with the compliance question to determine whether the list of certificates retrieved by the connection question and its mapping are compliant. - On the Compliance Actions page of the create license wizard, select Get in the Action field and then click Create.
The Get Action dialog box is displayed. - Build the Get action as follows:
- Enter the following name for the Get action: Get deployed products. This action retrieves the number of deployed licenses from the list of certificates returned by the connection question and mapping configured earlier.
- Select AR as the source from which to retrieve the information.
In the Target field, enter the name of the form from which to retrieve the information: CTR:Contract_Relationship. This form holds all connection information stored for processed connection questions.
- For this license type, you want to count the number of deployed licenses, so select Count as the type.
- From the Rule list, select GetCertificates > instanceId to start the rule count to retrieve the number of license certificates.

- From the Operator list, select =.
- From the Value list, select Child Instance ID*.
The WHERE field now contains GetCertificates.instanceId = 'Child_Instance_ID' as shown in the following figure:
- Click Save.
The Compliance Actions page of the license wizard is redisplayed and the Get action appears in the list.
In order to display the results of the Get action and set the compliance flag, you must build an update action.
- From the Action list, select Update and then click Create.
- Set the number of products deployed as follows:
- Enter the following name: Update Compliance.
- For the Source, select Compliance Question.
- From the Set list, select Number of products deployed.
This value indicates that the question field should be updated based on the count retrieved in the Get. - In the Set Value From field, select Rule.
- From the Value list, select Get Questions > Number of products deployed.

- Click Add.
- From the Action list, select Update, and then click Create.
Set the compliance flag as follows:
- In the Name field, enter Update Compliance.
- From the Source list, select AR.
- From the Target list, select AST:Compliance_BasicQuestions
- From the Set list, select ComplianceFlag.
- In the Set Value From field, select Constant.
- In the Value field, enter 1.
The compliance flag is set to 1 because this is the true setting and the site license is compliant.
The following figure shows the Update Action dialog box:
- Click Add.
- Now build the WHERE qualifier for the update action:
- In the Matching Requests list, select Modify all matching records.
- From the Rule list, select GetCertificates > instanceId.
This is added to the WHERE field as the clause starts to be built. - From the Operator list, select =.
- From the Value list, select Certificate_InstanceId.
The following figure shows the WHERE qualifier:
- Click Save.
The Compliance Actions page of the license wizard is redisplayed and all of the compliance actions appear in the list.
- Click Done.
- At the prompt, click Yes to create the license type.
The license type is created and displayed in the list in the Configure License Type dialog box.
By default the license type is created in draft mode. - To enable the license type, select it and click Enable, and then click Close.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*