Forum Discussion

BrianSmart's avatar
BrianSmart
Occasional Contributor
3 years ago

Count the number of instances

Hey,   I'm trying to find a way to count the number of instances of an application without throwing an error. Part of my check is to launch a second instance, and verify that the application detect...
  • ebarbera's avatar
    ebarbera
    3 years ago

    BrianSmart - 

     

    For this I would suggest the following. 

    Create a second object in the NameMapping which is mapped using the index number:

    In your test build an If...Then statement:

    The statements themselves can be customized and of course if you did not want to log a warning you do not have too - just used that as an example. 

     

    Let me know if this helps or if you have other questions. 


    Emma