Notifying a user about an activity update

%3CLINGO-SUB%20id%3D%22lingo-sub-1448723%22%20slang%3D%22en-US%22%3ENotifying%20a%20user%20about%20an%20activity%20update%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1448723%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eour%20app%20uses%20UpdateActivity%20to%20update%20the%20user%20about%20the%20progress%20of%20a%20request.%20I'm%20able%20to%20update%20the%20activity%20successfully%2C%20but%20it's%20unclear%20how%20I%20can%20notify%20the%20user%20that%20the%20activity%20was%20updated.%20By%20mentioning%20the%20user%20I%20get%20an%20entry%20in%20the%20activity%20feed%2C%20but%20there's%20still%20no%20notification.%20Using%20notifications.alert%20in%20channelData%20also%20does%20not%20seem%20to%20have%20any%20effect%20for%20activity%20updates.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20would%20be%20the%20best%20practices%20to%20notify%20the%20user%20in%20this%20situation%3F%20I%20could%20of%20course%20post%20a%20new%20message%2C%20but%20then%20there%20does%20not%20seem%20to%20be%20a%20way%20to%20link%20to%20the%20original%20activity%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1448723%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1450738%22%20slang%3D%22en-US%22%3ERe%3A%20Notifying%20a%20user%20about%20an%20activity%20update%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1450738%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F692822%22%20target%3D%22_blank%22%3E%40abustany%3C%2FA%3E%26nbsp%3B-%20Could%20you%20please%20try%20adding%26nbsp%3BTeamsNotifyUser%20to%20your%20reply.%20Example%3A%20notify.TeamsNotifyUser()%3B.%20Try%20if%20that%20helps%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Hi,

 

our app uses UpdateActivity to update the user about the progress of a request. I'm able to update the activity successfully, but it's unclear how I can notify the user that the activity was updated. By mentioning the user I get an entry in the activity feed, but there's still no notification. Using notifications.alert in channelData also does not seem to have any effect for activity updates.

 

What would be the best practices to notify the user in this situation? I could of course post a new message, but then there does not seem to be a way to link to the original activity?

1 Reply
Highlighted

@abustany - Could you please try adding TeamsNotifyUser to your reply. Example: notify.TeamsNotifyUser();. Try if that helps