How to set a flow variable from a custom component
Summary
Trying to set the value of a variable from a custom component and use this value later in the bot flowContent
Hi,
I would like a custom component to populate a flow variable but can't succeed .
The custom component is properly called and the flow works fine, but the variable is not populated , what in my usage of conversation.variable() is wrong as i thought it would populate the variable responseVar1 properly ?
NB : I am an Oracle Employee Running IBCS on a VM
Code Snippet
///////////////////////////// Flow ////////////////////////
context:
  variables:
....
    responseVar1 : "string" 
states:
....
  getData:
    component: "DataRetrieval"
    properties:
      responseVar: "${responseVar1}" 
  printData:
    component: "System.Output"
    properties:
      text: "${responseVar1}"
    transitions:
      return: "printData"  
////////////// Custom Component ////////////////
...
module.exports = {
...
    metadata: () => ({
        "name": "DataRetrieval",
        "properties": {
        "responseVar":                
            Tagged:
            
        
1