Start Application From Service

madSac

Active Member
Licensed User
Longtime User
But how i will come to know that who has started the application i.e. user or Service.
 
Upvote 0

mc73

Well-Known Member
Licensed User
Longtime User
I suggest you provide the full description when opening a thread, since it will be easierto provide a solution, for other members
An easy way I can think of, is to declare a variable at your service module, and set it to 'true' when starting the activity. Then in the activity you can check for this variable and determine if it was opened from the service. And don't forget to set it back to 'false', once read.
 
Upvote 0

edgar_ortiz

Active Member
Licensed User
Longtime User
You can use a variable defined in "PProcess_Globals" and when you start in the service, set to True.

Regards

Edgar
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…