Bug Report from eh_gs #2021-1-18_14-25-17

OS info

Problem description

Data Store actions inside Dynamic Event Runs are not working. (I am using NodeJS)

Steps to reproduce

  1. Add the following step inside a Dynamic Event action:
    Data Store > Insert Record

  2. After doing this, console shows the following:

    Formatter insert in expression [state.insert({selected_campaign: 2, selected_id_campaign: 3})] doesn’t exist for type object

*Data Store > Insert Record works fine when being called from an independent Flow, even though they produce the same code inside the .ejs file
Flow code:

<script is="dmx-flow" id="flow1" type="text/dmx-flow" autorun>{
      run: {
        action: "{{state.insert({selected_campaign: 1, selected_id_campaign: 2})}}"
      }
    }</script>

Dynamic event code:

<dmx-serverconnect id="currCamp" url="../api/security/campaign" dmx-on:success="state.insert({selected_campaign: 2, selected_id_campaign: 3})">
Community Page
Last updated: