GXflow - GAM Initialization

Official Content
This documentation is valid for:

When GXflow is integrated with GeneXus Access Manager (GAM), it is necessary to execute an initialization process in order to create the permissions and roles, necessary for the correct operation of the gxflow runtime. When prototyping in genexus, the initialization process runs automatically, but to take it to production it may be necessary to execute the process manually.

How to run a manual initialization process

To run a manual initialization, use the following command line:


The initialization procedure is located in the \bin folder. You may run it as follows:



The synchronization procedure is located in the <application>\WEB-INF\classes\com\gxflow folder. To run it, set the current working directory to "\classes" level folder and execute it as follows:

C:\..\<application>\WEB-INF\classes>java -cp ".\com\gxflow";.;"..\lib\*"; com.gxflow.apwfinitializegam

It may be necessary to include the ..\lib\joda-time-2.8.2.jar in the classpath also.

The artech.security-sql.jar file must be replaced with the corresponding one, depending on the DBMS used.

When using Java, make sure you have the connection.gam file under C:\..\<application>\WEB-INF\classes. Otherwise, these error message will be displayed:  "Error 2: Repository not found. Please contact the application administrator".

See Also

GXflow - GAM Integration
GXflow Custom Client with GAM
Business Process Deployer