Hello,
I want to keep track of apps that are added/updated/changed etc with App Package Event.
For starters I tried to code a flow for ADDED Event.
Event= Added
Package Name= blank (as I do not expect a particular app already been installed).
Probably my reading of App Package Event is, as always, wrong.
I'd expect that when adding(installing) a new app the trigger fire and give me information I need to write to a file.
I'd expect to have at least the app_name.
What I Observed:
1. the trigger never goes off.
2. if I force execution manually after having installed the app, {app_name} returns null.
QUESTION:
Where am I going off the tracks and smashing my nose into the wall?
Any help is welcome.
Thank You
Husky
App Package Event
Moderator: Martin
App Package Event
"Basic research is what I'm doing when I don't know what I'm doing"
Re: App Package Event
Hi Husky
You have to set field Package Name to * to achieve that the trigger is executed for all packages.
The variables usually provided by the trigger are not available when a flow is executed manually since it completely bypasses the trigger.
Regards,
Martin
You have to set field Package Name to * to achieve that the trigger is executed for all packages.
The variables usually provided by the trigger are not available when a flow is executed manually since it completely bypasses the trigger.
Regards,
Martin
Re: App Package Event
Hey Martin,
It works.
Sorry for the late reply. I was doing some tests before asking further questions.
One issue I have now is with Remove and Uninstall. The app_name is always null although the Global_Package_name is not.
Is this engineered this way or there is a way to list the app_name?
Now, placing the * is for all options of App Package Event? (Adding/Uninstalling...and so on)
Thank You
Husky
It works.
Sorry for the late reply. I was doing some tests before asking further questions.
One issue I have now is with Remove and Uninstall. The app_name is always null although the Global_Package_name is not.
Is this engineered this way or there is a way to list the app_name?
Now, placing the * is for all options of App Package Event? (Adding/Uninstalling...and so on)
Thank You
Husky
"Basic research is what I'm doing when I don't know what I'm doing"
Re: App Package Event
Hi,
* means to execute the trigger for all packages but only for the event that is selected in the Event field, not all events.
The variable app_name is likely not available anymore since the system removed the app so the system can not determine the name anymore (the name is stored within the apps resources that have been removed). I'll add a note to the help page about the missing app_name on remove.
Regards,
Martin
* means to execute the trigger for all packages but only for the event that is selected in the Event field, not all events.
The variable app_name is likely not available anymore since the system removed the app so the system can not determine the name anymore (the name is stored within the apps resources that have been removed). I'll add a note to the help page about the missing app_name on remove.
Regards,
Martin
Re: App Package Event
Martin,
Cool !!!!
Best Regards
Husky
Cool !!!!
Best Regards
Husky
"Basic research is what I'm doing when I don't know what I'm doing"