cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use BatchProcessTask.exe/BatchProcessTaskConsole.exe command line in Flexnet Manager Platform v2015+ On Premise

How to use BatchProcessTask.exe/BatchProcessTaskConsole.exe command line in Flexnet Manager Platform v2015+ On Premise

Summary

This Knowledge Base Article will describe in details on how to use the new executable BatchProcessTask.exe / BatchProcessTaskConsole.exe in command prompt to run different tasks in Flexnet Manager Platform On Premise v2015 + .

Synopsis

In Flexnet Manager Platform version 2015+ , we introduced a new command line (two executable files BatchProcessTask.exe & BatchProcessTaskConsole.exe).

User can run individual Batch process in the command prompt as required rather than run the batch process from Product UI and Product Beacon UI.

Discussion

BatchProcessTaskConsole is almost exactly the same as BatchProcessTask. The 'Console' version will print out to the console, the other won't. We use the non-console version in scheduled tasks so the server doesn't pop up a console window when they execute.

To determine the command line arguments, execute 'BatchProcessTaskConsole run' from a command line. This will show that you can do:

BatchProcessTask[Console] run TASK [OPTIONS] [--TASK OPTIONAL ARGUMENTS]

Example: We can run a particular Inventory Source connection Reader process:

BatchProcessTask[Console] run InventoryImportReaders ---s 'FlexNet Manager Suite'

BatchProcessTask[Console] run InventoryImportReaders ---s SCCM

Note that the three dashes aren't a typo. The first two signal that everything following is to be passed through as arguments to ComplianceReader, the third is passed through. You can put a space between the -- and the -s if you like, it will work. If you do this from PowerShell though, you have to quote the double-dash: '--'

Another useful use of -- BatchProcessTaslConsole.exe list-tasks , The list-Tasks parameter will tell you what's the current process is being processed.

Workaround

For workaround, you can use attached SQL script to run on the database, it will show you the history of BatchProcess of your system.


Additional Information

In version 2015, we have below batch process can be called individually

-----------------------------------------------
-----------------------------------------------
ActiveDirectoryImport
ARLCleanup
ARLDownload
ARLImport
BusinessAdapterConfig
BusinessAdapterImport
DataWarehouseUpdate
DataWarehouseUpdateRights
EnterpriseGroupImport
EntitlementRecommendations
FNMEAEnterpriseGroupExport
IBMPassportAdvantage
IBMPVULicenseUpdate
IMDataMaintenance
IMImport
InventoryImport
InventoryImportNoStats
InventoryImportReaders
InventoryImportWriters
LicenseReconcile
POLineImport
SAPInventoryImport
SAPPackageLicenseImport
SAPTransactionProfileImport
SAPUserAndActivityImport
SAPUserConsumptionImport
SAPUserImport
SAPUserRecommendationExport
SAPUserRoleImport
ServiceNowExport
UserAssignmentImport

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Apr 30, 2020 01:26 PM
Updated by:
Contributors