Omniscript(OS)

How To Make Formula in OmniScript

  — :  “In this post, we create a Date Formatter to showcase the date format. In the Formula field, establish a logic for the date format.” Step :– 1  “We are creating an Omniscript with three text fields (for DD/MM/YYYY) and one formula field (to calculate the format).” /*! elementor – v3.18.0 – 20-12-2023 */ .elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=”.svg”]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block} text field for input and formula field for calculate // in formula field IF(%Text1%>10,%Text1%,0+%Text1%),IF(%Text2%>10,%Text2%,0+%Text2%),IF(%Text3%>10,20+%Text3%,200+%Text3%)  Step :– 2   On preview tab we pass date  We find date format  Salesforce Guide- https://help.salesforce.com/s/articleView?id=sf.os_create_a_formula_or_aggregate_in_an_omniscript.htm&type=5

How To Make Formula in OmniScript Read More »

How To Use Text Block In OmniScript

–:  “In this post, we will create a text block to merge input fields.” Step :– 1 First ,we create a new Omniscript /*! elementor – v3.18.0 – 20-12-2023 */ .elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=”.svg”]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block} first we creating a new omniscript Step :– 2 “Here, we are adding two text fields (First Name and Last Name). We merge them in a Text Block (Full Name = First Name + Last Name) using the %% syntax, as shown in the image below.” In text block Step :– 3  In Preview Tab  in preview tab

How To Use Text Block In OmniScript Read More »

How To Use Set Error In OmniScript

–: In this post we create a Set Error for if we fill wrong data than its throw error .   Step :– 1   Create new omniscript. first is text field for name input and second is option. work = if we not fill Full Name && type both at a time it will throw Error.  /*! elementor – v3.18.0 – 20-12-2023 */ .elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=”.svg”]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block} In omniscript for input field form review tab Step :– 2  Drag a set error and add element error map. Element Error Map add conditional view in set error  if type = car && fullname = null Conditional View In set error Step :– 3  On Preview Tab – if Full Name  =  Null, Type = Car its throw error after click next Button.  On the Preview Tab Step :–4  After give correct data from Preview tab it navigate on next step Preview Tab Give Correct Data Salesforce Guide – https://help.salesforce.com/s/articleView?id=sf.os_set_errors_in_an_omniscript_19684.htm&type=5 /*! elementor-pro – v3.18.0 – 20-12-2023 */ .elementor-slides .swiper-slide-bg{background-size:cover;background-position:50%;background-repeat:no-repeat;min-width:100%;min-height:100%}.elementor-slides .swiper-slide-inner{background-repeat:no-repeat;background-position:50%;position:absolute;top:0;left:0;bottom:0;right:0;padding:50px;margin:auto}.elementor-slides .swiper-slide-inner,.elementor-slides .swiper-slide-inner:hover{color:#fff;display:flex}.elementor-slides .swiper-slide-inner .elementor-background-overlay{position:absolute;z-index:0;top:0;bottom:0;left:0;right:0}.elementor-slides .swiper-slide-inner .elementor-slide-content{position:relative;z-index:1;width:100%}.elementor-slides .swiper-slide-inner .elementor-slide-heading{font-size:35px;font-weight:700;line-height:1}.elementor-slides .swiper-slide-inner .elementor-slide-description{font-size:17px;line-height:1.4}.elementor-slides .swiper-slide-inner .elementor-slide-description:not(:last-child),.elementor-slides .swiper-slide-inner .elementor-slide-heading:not(:last-child){margin-bottom:30px}.elementor-slides .swiper-slide-inner .elementor-slide-button{border:2px solid #fff;color:#fff;background:transparent;display:inline-block}.elementor-slides .swiper-slide-inner .elementor-slide-button,.elementor-slides .swiper-slide-inner .elementor-slide-button:hover{background:transparent;color:inherit;text-decoration:none}.elementor–v-position-top .swiper-slide-inner{align-items:flex-start}.elementor–v-position-bottom .swiper-slide-inner{align-items:flex-end}.elementor–v-position-middle .swiper-slide-inner{align-items:center}.elementor–h-position-left .swiper-slide-inner{justify-content:flex-start}.elementor–h-position-right .swiper-slide-inner{justify-content:flex-end}.elementor–h-position-center .swiper-slide-inner{justify-content:center}body.rtl .elementor-widget-slides .elementor-swiper-button-next{left:10px;right:auto}body.rtl .elementor-widget-slides .elementor-swiper-button-prev{right:10px;left:auto}.elementor-slides-wrapper div:not(.swiper-slide)>.swiper-slide-inner{display:none}@media (max-width:767px){.elementor-slides .swiper-slide-inner{padding:30px}.elementor-slides .swiper-slide-inner .elementor-slide-heading{font-size:23px;line-height:1;margin-bottom:15px}.elementor-slides .swiper-slide-inner .elementor-slide-description{font-size:13px;line-height:1.4;margin-bottom:15px}} Thank You here we create vlocity solution for vlocity Developers in salesforce Click Here for more blogs9to9cloudswelcome in our website 9to9clouds.com Contact us Previous slide Next slide

How To Use Set Error In OmniScript Read More »

How To Use Post DataRaptor in OmniScript

–: “In this post, we will create a record from an Omniscript with the help of a Post DataRaptor”. Step :– 1 First, we create Omniscript /*! elementor – v3.18.0 – 20-12-2023 */ .elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=”.svg”]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block} we are creating a new OmniScript After click on save. Step :– 2 Drag a Text input  from build in step   text input for inter name  Step :– 2  “We drag a DataRaptorPostAction into the step (if it’s in a step, it works like a button). Afterward, we create a Post DataRaptor.” DataRaptorPost for load record from Omniscript in  OmniScript Call DataRaptor in omniscript Step :– 3 Filed mapping in DataRaptor PostDataRaptor_in_-OmniScript field mapping Step :– 4  On Preview Tab  On Preview Tab After that click on Save button  Result Salesforce Guide –https://help.salesforce.com/s/articleView?id=sf.os_post_salesforce_data_from_omniscripts_23163.htm&type=5

How To Use Post DataRaptor in OmniScript Read More »

How To Pass Data OmniScript To FlexCard

–: “In this post, we create an Omniscript and FlexCard. We will send Omniscript data to the FlexCard and display the data in the next step in the Omniscript.”  “Pass a set of records using ‘parent-data=true’ and the ‘records’ global context.” Step :– 1 “First, in the Omniscript, we create text fields for input.”   /*! elementor – v3.18.0 – 20-12-2023 */ .elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=”.svg”]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block} For Input On OmniScript “To configure, navigate to the Properties panel of the Custom LWC element. In the Custom Lightning Web Component Properties section, add the following properties: Add ‘parent-data’ as the Property Name and ‘true’ as the Property Source. Click + Add new Option and add ‘records’ as the Property Name. In the Property Source, add the JSON node containing the array of records to be passed to your FlexCard. Enter the node as a merge field using Omniscript merge field syntax, such as %Step1%. For example, if your list of records is stored in a JSON object called ‘accounts,’ enter %accounts%.” send omniscript to flexcarda Step :–2 IN Flex Card  —    “First, we enable OmniScript support in FlexCard.” filed in flexcard In Data Source Type – Custom *Custom JSON – { “Text1”: “Abhi”                                 “Text2”: “Maurya”,                                       “Text3”: “Ji”  }          // its Come From Omni script  Data Node REPEAT OPTIONS = TRUE Activate the Flex Card and OnmiScript. in flexcard json Step :– 3   “Omniscript on the Preview tab.” show data in omniscript

How To Pass Data OmniScript To FlexCard Read More »

Scroll to Top