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.
Default Configuration Parameters:
- Enter Entity : Entity name to insert the data into.
- Save Result In : All the data will be stored in this.
Fields: You can add multiple fields and value to insert the data into the selected entity.
HOW IT WORKS:
A Simple Example to configure the 'Post Data' activity in PopFlow Studio.
- 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.
- The best way to see the power of this activity is to step through an extended example. We will use 'OpenMethods.InteractionTable' entity to insert data.
- After selecting the entity it will create the required fields of the entity table as shown below.
- You can enter the default value or you can take the help of 'Harmony' or 'Context' to enter the value in the 'Enter Value' fields.
- In this example, we are using 'Harmony' to insert dynamic value on interaction.
- To insert the harmony values you need to enter value inside the ' { } ' bracket as shown below.
- After inserting all the required fields and its values it will look like this.
- 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.