Forum Discussion
How to setup assignment submission notifications for tutors
Thank you very much for sharing.
I don't see anything in that script or png image to prevent this triggering due to the Sharepoint App modifying files when an assignment is set. How do you work around that?
I have found a solution using the If condition and the claims identifier for Sharepoint App, leading to the Terminate action when Sharepoint App creates files. If 'created by claims' equals i:0i.t|00000003-0000-0ff1-ce00-000000000000|app@sharepoint, Terminate.
I wrote instructions here. They'll be more useful to the casual enquirer than the .json export of it.
https://scismith.wordpress.com/2020/05/01/how-to-set-up-alerts-when-assignments-are-submitted-on-teams/
The remaining issue, which I have just understood better by looking at the Logic Apps template .json exported form, is that Terminate leads to status: "Failed" and I have been getting emails to say how many times a week it has 'failed', which are actually just times I have set assignments, immediate or scheduled. I haven't missed any flows for student uploads though!
I need to find a way to prevent the Flow without it classing as 'failed', because I have heard that the software tries to remove or turn off failing flows. Hope that's just a rumour!
RuthSmith if the trigger is modification of: Student Work / Submitted work it runs fine - when you set an assignment these files don't change.
I have a great setup on my Class Team where new work appears with a thumbnail and a link in a private channel, with a flowbot notification in Activity.
You can give pretty near instant feedback!