Closed MichaelStark-Reactor closed 4 years ago
@MichaelStark-Reactor - Thank you for the report. I have a few questions.
@MichaelStark-Reactor - Teams is a little tricky when it comes to image attachments, but it is possible. If you're using the prompt sample I'm thinking of, then the attachment prompt portion is specifically disabled for Teams. Would you please link to the sample you're using, and also link to the instructions you've followed to run a bot in OmniChannel as you've described in step 4 of your repro steps?
This is part of the process. You will need a D365 tenant. https://docs.microsoft.com/en-us/dynamics365/omnichannel/administrator/configure-bot-virtual-agent
@MichaelStark-Reactor - Thank you for the link. I tried your code in Teams and it seems to work okay:
We'll need some more information in order to reproduce your problem.
@MichaelStark-Reactor - Are you still working on this?
I found a hack. I added logic to grab the image in the OnContinueDialogAsync event then restart the conversation and skip the prompt the second time through.
Now there is an issue with using the same Bot as a Skill inside a PVA and then host the PVA in OmniChannel.
@MichaelStark-Reactor - I'm glad you were able to resolve your issue.
If you have any questions about your new issue, we would prefer it if you asked them on Stack Overflow. If you use the botframework
tag then my team will see your questions. GitHub issues are best-suited for bugs and feature requests.
You might also consider opening a support ticket through the Azure portal. There is a document explaining how to get help here: https://docs.microsoft.com/en-us/azure/bot-service/bot-service-resources-links-help
Version
version 4.7.1
Describe the bug
When using a Prompt in Waterfall step to have the user attach an image we are using the AttachmentPrompt. In WebChat and emulator this work fine. When running it in the OmniChannel or D365 it never leaves the Prompt. No matter what the user upload it returns to the prompt.
The OnContinueDialogAsync event is triggered and I can examine the attachment list and I see my attachment. The following step in the waterfall is not triggered. The user is prompted with the text of the prompt again.
To Reproduce
Steps to reproduce the behavior:
Then run the code in the emulator and webchat and the Confirmation step runs.
Deploy and run in OmniChannel and the Confermation step does not run
Expected behavior
I expect the Prompt to return and continue into the next step.
Additional context
Our bot exists as a Skill called by a PVA bot. As such we are limited in the conversation. When the conversation ends it returns control to the PVA. So we need to uset the Prompt mechanism to prompt the use and wait for the file.
[bug]