Not able to pass an activity to skill bot
See original GitHub issueDescribe the bug
I have a dialog that connects to a skill, I’m setting the activity as ${conversation.query} like in the screenshot, to pass that variable to the bot , also setting Activity processed as false, but no luck, the skill is receiving what is in turn.activity.text anyway.
Version
Version 2.0
Browser
- Electron distribution
- Chrome
- Safari
- Firefox
- Edge
OS
Chrome
- macOS
- Windows
- Ubuntu Windows
To Reproduce
Steps to reproduce the behavior:
- Go to ‘…’
- Click on ‘…’
- Scroll down to ‘…’
- See error
Expected behavior
Screenshots
Additional context
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Passing Data from skills bot to root bot without using dialogs
Hi @ambuj74, you can use the value property of the activity to pass parameters to a skill something like: turnContext.Activity.Value = JObject.
Read more >Post IInvokeActivity from root bot to Skill bot - Stack Overflow
When we click on Login button TeamsActivityHandler generates IInvokeActivity, but I am not able to pass control to Skill bot again due to ......
Read more >Implement a skill - Bot Service | Microsoft Learn
A skill is a bot that can perform a set of tasks for another bot. ... However, you need to send an endOfConversation...
Read more >18 - Lets start Skill in Bot Composer - YouTube
Bot Framework Skills : A skill can be consumed by various other bots, facilitating reuse, and in this way, you can create a...
Read more >Exchanging data with Skills - Microsoft Open Source
Bot Framework Skills provides the capability to pass data to a Skill through the Value property on the Activity sent to the Skill...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi Srinaath I’m not sure if I’m missing something but the skill is still receiving what the user input (turn.activity.text) and it is ignoring Activity value. For example I typed “ticket”, trigger the Skilldialog , the skill dialog connects to the skill sending the activity as you mention, but the skill it is still recognizing the input value. Skill trace: { “recognizerResult”: { “text”: “ticket”, “alteredText”: null, “intents”: { “TicketClose”: { “score”: 0.49167684 } }, “entities”: {} } }
Thanks!
@gapmdq Instead of using the friendly editor. Can you use the code editor and pass the value through an activity template like this.