Groovy
Discussion List
-
How to sum minutes in a datetime field using Groovy?**This post was created as part of a How to Service Request (SR) Release: 22A Summary of the question: We are writing a groovy script and need to sum the minutes in a da…Tony Phetbourom-Support-Oracle 22 views 1 comment 0 points Most recent by Andrei Stan-Support-Oracle Sales
-
Warning message with "Continue" optionSummary Warning pop-up message with "ok", "Continue" or "Cancel" optionContent It will be nice to have an option to throw a warning message on the screens with "Ok", "Co…
-
best way to add or substract hoursSummary: How is the best way to add or substract hours in groovy Content (required): Recently we created a script to calculate the actual date and the day before to send…
-
Get the value of "SiteuseType" before user makes the updateSummary: Get the value of "SiteuseType" before user makes the update Content (required): I have a "BeforeUpdate" trigger wherein I am trying to validate if the user is t…
-
Require groovy code to create Attachment to Activities in Oracle sales cloudSummary: Require groovy code to create Attachment to Activities in Oracle sales cloud as soon as they get created in Oracle Sales Cloud Content (required): Version (incl…
-
Notification on Account-Contact relationship deleteSummary: Hi Team, We are planning to send out a notification to account owner, when a contact is deleted from "Contacts" tab. Content (required): When a contact is remov…
-
PersonParty Phone AttributeHi, As per our requirement, we need to validate the new phone # of contact is existing already or not. def vop= newView('PersonParty') def vcp = newViewCriteria(vop) def…Mohana Gopal Selvam-Oracle 21 views 1 comment 0 points Most recent by Mohana Gopal Selvam-Oracle Sales
-
How can we populate a value in Address Additional Element Attribute 5 using groovySummary: How can we populate a value in Additional Element Attribute 5 using groovy Content: We have a requirement that we want to populate some value in Additional Elem…
-
How to filter Groovy scripts only to trigger from UI/user actions for Activity objectSummary: Tigger Activity Object's groovy scripts only via UI actions Content (required): Hi, We have a requirement to run specific validations for Activity object when t…
-
Exception HandlingHi, As per our requirement, we have to invoke one webservice when the SR is created. We have written groovy in BeforeInsert trigger which is working fine. But we are fac…Mohana Gopal Selvam-Oracle 31 views 1 comment 0 points Most recent by Topher Heath-Support-Oracle Sales
-
Update Contact Address via Field triggerSummary: We have a requirement to update the Contact Address based on account associated with the Contact. Content (required): We have a groovy to do this. There is no i…Nirosha Mookaiah Natarajan 32 views 4 comments 0 points Most recent by Nirosha Mookaiah Natarajan Sales
-
Date CalculationHi, I have Start Date as 01/01/2022 & Duration of months entered as 12 months, once I save the record the End Date automatically populate as 01/01/2023. How can this be …
-
Execute Dashboard from Opportunity Object through a LinkHi All, Summary: Execute Dashboard from Opportunity Object through a Link We have created a dashboard and all the reports in the dashboard are prompted based on the Oppo…
-
trigger to validate if the national ID field located in contact object is not null before lead conveDears, I need your help to create a trigger in order to validate if the “national ID” field located in the contact object, is “not null” before converting any lead to op…
-
password should not be from the last 3 password used using groovy in oracle fusion sales cloudSummary: We have created a custom text field "Password" and we get the data from Mobile App through OIC. We would like incorporate a password policy where the custom fie…
-
How to get related account's account owner's email from the Service Request object?Summary: We are trying to write a workflow on the Service Request object to alert the account owner when a Service Request has been created. In order to do this, we must…
-
Why does adf.error.warn only show on save and close?Summary: Using a custom error warning, it only shows on the save and close records, not on the save action. Content (required): Using a custom error warning, it only sho…
-
Read File Contents From Attached FileSummary Read File Contents From Attachments in GroovyContent Hi Team, We are trying to read the File contents from attachments of Custom object. We are using following t…
-
Link Created Service Request from Opportunity to a DCL or Service Request SubtabSummary: We have setup Service request as a subtab on opportunity page and set an Object trigger which creates a service request from opportunity. However we are unable …
-
Need to Closed all the tasks if opportunity got closed via groovy scriptSummary: Hi All, I have to write to groovy script to close all the tasks if opportunity got closed. Can anyone provide me sample of groovy code to achieve this requireme…
-
I need your help to create a trigger in order to validate if the “national ID” fieldDears, I need your help to create a trigger in order to validate if the “national ID” field located in the contact object, is “not null” before converting any lead to op…
-
I need your help to create a trigger in order to validate if the “national ID” fieldDears, I need your help to create a trigger in order to validate if the “national ID” field located in the contact object, is “not null” before converting any lead to op…
-
CX Sales show outbound REST Web Service InformationSummary: Content (required): I'm new with groovy scripts and CX Sales, our Design team have a question about outbound web services, is about if is possible to show the o…
-
Can I import activity record with attachment in one import?Summary: Can I import activity record with attachment in one import? is it 1st we need to import activity record and then add attachment to it in a separate import? whic…
-
Adding resources in Custom Teams under object Custom_Object_CSummary: We created a Custom Teams object in our Custom object custom_Object_C to leverage OOTB Resource object, Relationship is M:M between the two objects. We are buil…
-
Groovy - Copy Product custom field value to Opportunity revenue fieldSummary: How to copy a Product custom field's value to an Opportunity Revenue line item field? Content (required): Hi, I have a custom field ABC on Product table. When t…
-
how to export all custom lookups defined in application using export managementSummary how to export all custom lookups defined in applicationContent Hi All, Is there any way to export all custom lookups defined in application through export manage…
-
How to call custom messages in groovy?Summary: We defined custom messages in Manage Message setup task. We need to display the message over UI Content (required): When certain condition fails, we need to thr…
-
Sales Cloud - where do I write custom logs?Summary: Need to know where to write custom log information from groovy script triggers on an object Content (required): Use case: We have a an object trigger on create …
-
Extra usage is adding in party usage subtab after merge process how to remove itSummary how to remove extra usage from pasty assigiment after mergeContent Hi All, when i run a merge process for Customer and transactional account as per rules custome…