This document shows different functionalities of GXflow's license Manager, available as of GeneXus 15 Upgrade 8 or higher. Applies to both Native (default) or Protection Server methods. More detail, see GXflow license scheme.
Note: Make sure that popups are enabled in your browser for the GeneXus license site.
First, check that the product and version are the ones you want to use; next, enter the license request information. The type (New Authorization for new licenses), the number of licenses you need, and the time restriction (if Limited is selected, you need to enter the number of days the license will be valid), are requested.
This process is valid to enter new licenses requested and also to enter modifications in active licenses (Change Restrictions or Add Licenses)
In the dialog box, enter the Site Key received by email from GeneXus with the licenses.
When working with GXflow licenses, there are two ways to modify the licenses.
First, the user can add licenses to an installation. The first step is the same as when requesting a license; this means you need to select the product from the list and click on the Request License button.
The changes are now displayed in the license system. You need to select the option "Add licenses."
After finishing the request process and receiving the Site Key, follow the same process explained to Enter a License to apply the changes in the licenses.
This process consists of changing the validity time for GXflow licenses. For the moment, this process cannot be performed in the GXflow's license Manager. When using Remote licenses, you need to use the GeneXus License Manager to change license restrictions.
Go to the option License Manager -> Nominated Users in the GXflow Client menu to work with nominated users.
Write the new username in the text box on the left and click on the Add button. Unassigned copies' information will be updated.
Select the user you want to remove from the list and click on the Remove button at the top of the grid. Unassigned copies' information will be updated.
There is a search box available on the top right corner of the screen to filter the nominated user list.
Using this option, the nominated users are exported into an XML format file.
In order to import a list of nominated users, first, select the option "Import" in the toolbar and then enter the XML text with the user list in the dialog box.
The XML format for the user list must be like the following:
<?xml version="1.0" encoding="UTF-8" ?>
Remember that when users are added using the GXflow API, they are automatically nominated if there are unassigned licenses available.
GXflow licenses can be stored in two different locations: Native and Protection Server. Native licenses use the database as primary storage and are handled using the GXflow's license manager. Protection Server licenses use the registry and/or other ways and are primarily handled using the GeneXus License Manager.
The process to change the licenses location is as follows:
In the drop-down menu, select the licenses protection method. If Protection Server is selected, you need to enter the server name and credentials.
- When using Protection Server license, GeneXus Protection Server 18.104.22.168 or higher is required.
- Changing the license location sets where to store or read license information; it does not move or copy licenses from one location to another.
It is possible to generate a log of all the actions related to GXflow licenses, i.e., licenses requests, install/uninstall and users nominations. (Applies to both Native (default) or Protection Server methods) To enable this, the "Generate Log" option must be checked. This option can be found in the license manager page or inside the GXflow client in License Manager -> Settings section.
In Java environments, the log information will be stored in the server log files, i.e., in a Tomcat based application, you will find the GXflow log information in the stdout files in the Tomcat logs folder.
For C# environments an additional setting is required, we need to modify the web.config file, adding the following in the <configuration> section:
- To save the log in a file
<trace autoflush="true" indentsize="4">
<add name="myListener" type="System.Diagnostics.TextWriterTraceListener"
<remove name="Default" />
- To save the log in the TraceAxd application
<add name="WebPageTraceListener" type="System.Web.WebPageTraceListener, System.Web,
Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Sometimes is necessary to perform some actions for the GXflow licenses in order to solve problems or setup applications. Some command line tools are available to help with these tasks, they are added automatically when the workflow application is installed. The execution syntax is like:
apwflicenseutil [option] ([License])
where options is:
-c: Clean the licenses and return the licenses info
-e: Export the licenses
-i: Import the licenses. Requires the second parameter with the licenses info
- Export process does NOT remove the licenses from the installation
- Import process is only available in installations using a database of the same server
- The tasks clean/export/import all the licenses information, always including both products (GXflow and GXflow Corporate)