- The 'Post Data' activity allows you to insert important data into the entity table. In the PopFlow Studio, you can configure the 'Post Data' activity. You can select the fields and their value while configuring the activity.
- After opening the 'Post Data' activity, you will get the below configuration panel.
Default Configuration Parameters:
...
- Select the 'Post data' activity from 'Activity Sidebar'.
- Click on 'Post data' activity to open and configure the 'Post data' activity.
- Click on the 'Enter Entity' field to enter the 'Entity' name.
- Once the 'entity' is set, you can add the fields post the data.After selecting the entity
- Click on the Fields button to add multiple fields.
- After clicking on the field button it will create the required fields of the entity table a panel with the 'Enter property' and 'Enter Value' fields as shown below.
- Click on the 'Enter Property' fields to open the selected entity 'property' list as shown below.
...
- Select one property and insert its value to 'Enter Value' fields.
- You can add multiple fields to post the data.
- Enter the 'required' values into the 'Enter Value' field.
...
Example to insert the data into 'InteractionTable' :
- Suppose we have an active call interaction, we need to insert the data of active interaction into the 'InteractionTable'. To achieve this you need to create a 'Post data' activity on 'on Answer' events.
- When the agent will 'receive/accept' the call the activity on the 'on Answer' event will get execute and all the data related to the active interaction will be inserted into the 'InteractionTable'. We will be using the 'Harmony' variable to get the values of active interaction.
- Select the 'OpenMethods.InteractionTable' entity from the entity list by clicking on the 'Enter Entity' field. It will generate Add all the required fields related to the selected entity as shown below.
...
- A field can also be removed by clicking on the red delete button.
- The 'Post data' activity has two default buttons to perform the different activities execution based on the success and failure of 'Post data' activity.