Skip to main content
Question

Check if ArcGIS License is available

  • November 26, 2019
  • 1 reply
  • 18 views

I have a customer who currently has only one floating license for their enterprise. We would like to configure our workflow such that it waits until the license is available to checkout and then proceed with the translations. Is there a way to have FME check if a license is available so that I can write a loop that effectively pauses the translation until the license is available?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

giosp
Contributor
Forum|alt.badge.img+6
  • Contributor
  • 50 replies
  • November 27, 2019

Hi  @slangley,

you can try to check the license with python script and arcpy. In the startup python script or in a python caller you can verify if the license is availabel:

import arcpy

# ArcEditor string
strArcEditor = 'ArcEditor'

if arcpy.CheckProduct(strArcEditor) != 'Available':
  print "No license are available"

 

In the if statement you can change the text with an attribute that you can verify in the fme flow and terminate the execution.