Data Activities: Update Data

Data Activities: Update Data

Alert
This information is only applicable for Oracle integrations.

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

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

Default Configuration Parameters

  1. Enter Entity : Entity name to update the data into.
  2. Entity Id : Selected 'Entity' id to make the update.
  3. Save Result In : All the data will be stored in this.
  4. Fields: You can add multiple fields and value to update the data into the selected entity.

How it works

  1. Select the 'Update data' activity from 'Activity Sidebar'.
  2. Click on 'Update data' activity to open and configure the 'Update data' activity.
  3. Click on the 'Enter Entity' field to enter the 'Entity' name.

After selecting the entity, enter its valid 'id' into the 'Entity id' field to make the update on correct fields. In this example, we are updating the 'contact' entity.


  1. Once the 'entity' and its 'id' is set, you can add the fields to make the update on selected fields.
  2. Click on the Fields button to add multiple fields.
  3. After clicking on the field button it will create a panel with the 'Enter property' and 'Enter Value' fields as shown below.

  1. Click on the 'Enter Property' fields to open the selected entity 'property' list as shown above.
  2. Select one property and insert its value to 'Enter Value' fields.
  3. Set all the fields you need to update with the values.

After setting the fields it will look like as shown below.


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'.

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.

Once we get the 'Entity id' we can configure the 'Update Data' activity as shown below to update the remaining data of active interaction.
After configuring the activity click outside the activity panel to 'save and close' the activity configuration.

    Still can’t find an answer?
      • Related Articles

      • Screen Pop Activities: Zendesk Ticket

        Adding an Activity To add an activity, begin by selecting a condition or path (such as a trigger or logic point). Click the block to open the activity menu, then search for and select your desired activity—like Zendesk Ticket. Once selected, the ...
      • Screen Pop Activities: Dynamic UI

        Overview The Dynamic UI activity allows you to show the dynamic UI in a custom modal or window pop-up inside Oracle Service Cloud. You can configure the 'Dynamic UI' activity in PopFlow Studio. Configuring the Dynamic UI After opening the Dynamic UI ...
      • Screen Pop Activities: Pop Search and Select

        Overview The 'Pop Search and Select' activity allows you to show the results grid in a custom popup inside Oracle Service Cloud and perform search & select operations. In the PopFlow Studio, you can configure the 'Pop Search and Select' activity. ...
      • Data Activities: Delete Data

        This information is only applicable for Oracle integrations. Overview The 'Delete Data' Activity allows you to delete the data from the selected entity. It has two path 'SUCCESS' and 'FAIL'. You can execute different activities on these buttons. ...
      • Data Activities: Get Data

        This information is only applicable for Oracle integrations. Overview The 'Get Data' Activity allows you to get the data from the selected entity. You can add multiple filters to filter the data. It has three child buttons: SINGLE MATCH MULTI MATCH ...