Vlocity Facts #53 || Reset or Clear the data in Omniscript Screen

In this post we will will discuss 

  • How to Clear data by using set values
  • How to Reset data by using any DataSource
Set Values 
   In omniscript we can use set values to rest the data or populate the data by using the set value element.
  •  Clear the data by using Set Values.
I have added 2 text elements and one set value element in omniscript stepIn Set Value element which I have used in side the omniscript. I have used the First Name and Last Name -> as Element Name and value as null in set value with Label as "Clear"

Note: Once you add the set value in omniscript step it will act as a button.                                            
When user clicks on the "Clear" button the data which was entered by the user will be cleared and user can enter again.

Output: 
User Enter the data 
After user clicks on clear button [Set Value]
  • Reset the data or populate the data by using data source
We can Integration Procedure, Data Mapper or By using Set Values for limited number of elements in omniscript step.
I'm using DataMapper Extract to populate the data in the Omniscript step and same DataMapper to reset the data in omniscript.
When Omniscript step loads it will populate the data in omniscript.
In Omniscript Step I have added the DataMapper and it will add as button.

Output:
I have changed the values
After  clicking "Reset" Button it will populate previous data.














Comments

Popular posts from this blog

Vlocity Facts #01 | OmniStudio DataRaptors

Vlocity Facts #44 || Communication between Omniscript and Flexcard [Pub/Sub]

Vlocity Facts #37 || Configure Google Maps in Type Ahead Block