Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 58

OVERVIEW:

  • The 'Update Data' activity allows you to update important data into the entity table. In the PopFlow Studio, you can configure the 'Update Data' activity. You can select the fields where you want to make an update.

      Image Modified

  • After opening the 'Update Data' activity, you will get the below configuration panel.

     Image Modified


Default Configuration Parameters:

...

Example to update the data into 'InteractionTable' :

  • Suppose we have an active call interaction, so many of the data will be inserted into the selected 'Entity' table using the 'post data' activity when agent accept the call, but data like 'Hold time','End time', call duration' etc. cannot be calculated and inserted into the entity table at the time of on Answer. To insert all the data into the entity we will use the currently created entity 'id' by 'Post data'  to insert the remaining data into the selected 'entity' id when the call is ended. 
  • For this example first, You need to first create a 'Post data' activity and set its interaction data using the 'Set interaction Data' activity. You can refer to the 'Post data' activity and 'Set Interaction data' activity documents to configure the 'Post data'. Below is the example of how it will look after creating 'Post Data'.

       Image Modified

  • You need to configure the 'Post data' inside the 'on Answer' Event. so if the agent accepts the call 'post data' activity will execute and post the data into the selected entity. Once the entity record is created we can use its 'id' to update the remaining data when the call is ended.
  • Once the configuration of 'on Answer' event is completed, we need to configure the 'update data' into the 'on End' event. 
  • Below are the events available for the 'Telephony'.

                               Image Modified

  • Once we get the 'Entity id' we can configure the 'Update Data' activity as shown below to update the remaining data of active interaction.

       Image Modified

  • After configuring the activity click outside the activity panel to 'save and close' the activity configuration.