Hi all, Is there any official API to know whether we're running on Ivy environment or not? for checking 'server' or 'designer', we can use this API:
but what if i want to check is it ivy env or not? For the moment, i just have a temporary solution where i try to invoke some ivy command in try catch block then see if it throw exception of not. but i need a better solution. :) Thanks asked 09.02.2017 at 02:34 trungdv |
Currently this is only possible by using internal, but accessible API.
answered 09.02.2017 at 10:21 Reguel Werme... ♦♦ |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 09.02.2017 at 02:34
Seen: 1,040 times
Last updated: 09.02.2017 at 10:21
you can improve the designer/engine check by using a constant which is available from the core API:
ivy.wf.getApplication().getName().equals(IApplication.DESIGNER_APPLICATION_NAME)
what exactly means ivy env or not? are you talking about java code that must determine whether it is executed by the Axon.ivy BPM engine or if it runs in plain java ?
hi @Reguel Werme... ♦♦ yes, i want to check whether i can run any command which is started with ivy or not.