My bot is trying to create a node where it will ask customer to select one of the item from list variable which is coming from the previous node. and that list variable contains the list of S3 bucket that we retrieved from our S3 account by using get list of S3 buckets connector. but it is giving the below error in the node while I am creating it.
"There is an error: MissingDisplayName".
That's because the payload returned by the plugin (the "value" table) does not have a "DisplayName" property. Do you know how to check for the payload that's returned by the plugin?
Thanks adilei. let me elaborate the issue
Requirement: I am getting the list of buckets in one node, now user needs to select the bucket from the choice parameters.
Now I am able to display the list of buckets in the message node but I am unable give that list as a parameter to the question node. it is saying "There is an error: MissingDisplayName". Please find the attached screenshot for the refence.
"Options from a list variable" needs a Table variable with a "DisplayName" key. Here is an example:
actions:
- kind: SetVariable
id: setVariable_usLW26
variable: Topic.Var1
value: "=[{k1: \"v1\", k2: \"v2\", DisplayName: \"d1\"}, {k1: \"v3\", k2: \"v4\", DisplayName: \"d2\"}]"
- kind: Question
id: Question_no22f0
variable: Topic.SelectedOption
prompt: "Please select one of the following options:"
entity:
kind: DynamicClosedListEntity
items: =Topic.Var1
This is how my previous node (which is List buckets from S3 plugin) list the bucket names.
Here is a list of S3 buckets:
Bucket1
Bucket2
And I am creating a "Ask a question" node where I will be identifying it as "Options from a list variable". Then I am adding list variable that I received from my previous node as input and storing the customer selected input in a newly created variable. the moment I added the input and output variables I am getting the that error, I am attaching the reference node error image again.
How are you displaying the list? Which node are you using?
Pablo Roldan
25
Romain The Low-Code...
23
stampcoin
10