Forum Discussion
Christophe Humbert
Apr 11, 2019Iron Contributor
Trigger for News
How can I trigger a workflow whenever a News page gets published, on a hub site or any of its related sites?
Apr 11, 2019
I don’t *think* there’s a way to do this, but it sounds like a great UserVoice suggestion.
- Christophe HumbertApr 12, 2019Iron Contributor
MarcDAnderson thanks for the reply. Alternately, would there be a way to run a flow on a schedule to retrieve all the news posted in a given hub in the past 24 hours?
- Norman YoungApr 13, 2019MVP
Hello Christophe Humbert,
You can definitely run a Flow on a schedule - see "Recurrence". I don't believe there are any Actions that let you identify News but you can use the "List folder" action against your "Site Pages" folder to identify recently updated pages - see "Filter Array". It's far from perfect but might be an reasonable interim solution.
I hope this helps.
Norm
- Christophe HumbertApr 13, 2019Iron Contributor
Norman Young Thanks, this is definitely going in the right direction.
Now the remaining issue is that on a hub, news come from multiple "Site Pages" libraries, not just one. I would need to identify all those sources.