Page 1 of 1

how to check the program opened with mobile app or web

Posted: Thu Apr 11, 2019 3:49 am
by programerboy
Hi,

I want to check the program opened with mobile app or web in trigger, how can I do it?

Thanks

Re: how to check the program opened with mobile app or web

Posted: Mon Apr 15, 2019 9:43 pm
by amosbatto
In JavaScript you can do this:
Code: Select all
var env = PMDynaform.getEnvironment();
if (env == "android" || env == "iOS") {
   //using mobile app
}
else {
   //using Processmaker in web browser
}
See:
https://wiki.processmaker.com/3.2/JavaS ... ment.28.29

Re: how to check the program opened with mobile app or web

Posted: Fri Apr 09, 2021 9:51 am
by muneebqadar
In the inception or discovery phase, processes like technical documentation, system components architecture, and technical investigation/audit reports are prepared. I won’t be surprised if some of you may have heard these terms for the first time. All of this and more needs to be thoroughly assessed as a little lapse concentration can make the entire mobile application development process go wrong.
That’s why much emphasis must be given by app developers and the customers during this phase so that everything may run smoothly during the next steps.