Hi All, 
I'm new to botpress, so apologies if this is something obvious. 
I have a workflow string variable which I assign a value using a execute code (API) the value comesup nicely within the console.log but for whatever the reason it won't get updated within the workflow variable outside the code block. 
axios
  .request(config)
  .then((response) => {
    const jsondata = response.data
    console.log(workflow.candidateResponse)
    const fullname = jsondata.results[1].full_name.toString()
    workflow.candidateResponse = fullname
    console.log(workflow.candidateResponse)
    return workflow.candidateResponse
  })
  .catch((error) => {
    console.log(error)
  })
Any idea what is causing this? I want to access workflow.candidateResponse using a standard text card.