Notifications
Announcements
No record found.
Hello,
Is it possible when clicking on the Agent Script Answer Text to get the value pass it to an EntitySearch as parameter?
Thank you
*This post is locked for comments
Didn't understand the question correctly. Can you explain with some example please?
Thank you for reply.
I have An Agent Script that has 2 Answers. When i click one of the answers i want to be able to pass the Answer text to an Entity Search.
Example:
When i click Answser 1, "Answer 1" should be passed to a FetchXml defined in the Entity Search (USD).
I hope it's clear now.
Kind Regards,
Yes, That is clear and Yes, it is possible.
Whenever you select an answer "TaskUpdated" event which contains the Answer selected. Copy this into Context. You will be using this Context variable in your entity search. After copying to context, execute DoSearch action to execute your entity search.
Let me know if it is not working for you.
Hello, thank you, i will try it and get back to you.
Kind regards
Hello @Srikanth Alluri,
Sorry for the late reply, unfortunately, it's not working (unless I'm missing something). The event "TaskUpdated" is triggered, but the selected answer text is not shown.
Below I attached a screen of the debugger and I copied the data of the event.
Action Call# 1
Source:Event(Agent Scripting)Name:TaskUpdatedApplication:Action:Action Data:Parameters:"task"="Client --> Identification"
Condition:Condition Result:Success
Ok, you need the Answer text. Then the only option for you is, Execute an action call on Answer click which would use Global Manager's CopyToContext action to copy the answer text (hardcoded based on the answer). Use this Context variable value in your Fetch.
This is indeed what i did. Thank you ;)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2