You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Issue with dates passed from Lead object to Activity object using groovy

Received Response
in Sales 1 comment


When creating a Lead, an Activity record is generated automatically through Object Workflow.

I'm using two dates from the Lead to set Activity's Start and End dates, but when the Activity is created the dates are different for exactly "1 day"

I'm using a custom date "dInicio_c" and the standard date "ExpirationDate" fields to setup ActivityStartDate and ActivityEndDate.

For instance:

dInicio_c = 09/01/2022       when the activity is created --> ActivityStartDate = 08/31/2022

ExpirationDate = 10/31/2022  when the activity is created --> ActivityEndDate = 10/30/2022

The Timezone setting on user properties/regional is (UTC-04:00 Santiago)

Content (required):

Version (include the version you are using, if applicable):

Oracle Cloud Application 22A (

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!