Dec 10 2017 09:38 PM
Dec 10 2017 09:38 PM
Dec 10 2017 10:56 PM
The "big brother" of flow is Logic Apps, you can set Logic Apps to do something when a list item is created, and that thing would be to create list items in all the other lists.
The process could be:
1. Add a task to a sharepoint list using PowerApps.
2. LogicApps watches that list and starts when an item is created
3. LogicApps has a step for each other list to add a copy of this item
An alternative which would require PowerShell code would be to create a Automation Runbook to do the same steps as the logic app above using something like the SharePointSDK module. To kick this off SharePoint would need to activate a webhook in Azure Automation.
And a third option would involve the most code and that would be to create a C# function in Azure functions / app services to do the same sort of this, this however could be registered as a custom API in PowerApps and you can trigger that based on a click rather then on the creation of a item in a sharepoint list.
Dec 10 2017 11:46 PM
Dec 11 2017 12:02 AM
SolutionDec 12 2017 02:47 PM
Roland,
Have you tried using Planner at all. A planner Instance with each Store as a Bucket. Create a new Task for each Bucket using Flow. This would then surface on the Planner Hub and assign Tasks to individuals.
Dec 12 2017 04:22 PM - edited Dec 12 2017 04:23 PM
I'd use Planner if I could lock down everything except allow the user to only see their own store's tasks and only be able to select "Done". We need to issue task in bulk and then ensure nothing gets changed.
Meanwhile, I have managed to create a working prototype to prove the concept.
I start with an Input list where a Home Office person will issue the task and assign it to a group of stores.
Then, I have a button using ClearCollect and ForAll against a table of stores to create a table of tasks with one row per store. That is displayed in a gallery for a preview.
Then, a button uses another ForAll and a Patch function to write it all into a SharePoint List which will function as the Task list. I will secure these with a workflow so that stores can see only their own tasks. A simple PowerApp form will give them only the option to check it as done and probably some comments.
This is all to me quite amazing considering this is something we likely would have purchased a third party product for (and we still might, if I don't perfect it...but I suspect I will).
Jun 23 2018 04:12 PM
Dec 11 2017 12:02 AM
Solution