I need to set a date field to the current date + 10 days. I have a date formula field that does this, however, I need to then take that formula and use it to set a regular date field so my users can change it if they need to. I’m thinking I need to use a pipe, but I really don’t understand how to use the syntax of the pipe functionality, and can’t find and documentation/training on this.
Can you describe your project that would need to have a two-way flow of date changes? Is there a design restriction/need that would prevent the end user from changing the initial date field to automatically change the 10 day date formula?
The field is an expected return date which in most defaults to today+10. I have workflow that starts a process to start contacting customers on this due date. Sometimes there are shipping or other delays, so my user would like to change the date when this happens.
Basically, I need a way to assign a date to a standard date field.
This could be done with some javascript. @Chem may be able to assist whereby the JS pulls from a field value plus 10 days and targets the field that would show the date+10.
If the user changes the date, do you also want to add +10 days to it? The Date Utilities pipe has an API call to add days. You could use this and run it on record create/edit or both. Would that work?
No. It should only be set when Created to the today+10. If they change it, they are on their own.
I think the pipe would work on the Create, but not sure how to set it up properly.