Dec 16, 2021 11:53 AM
Hello!
I have a table in which a student’s “Start Date” is captured in a date field. There is then a # field that indicates the “# of weeks” the student is in the course. Then lastly is a formula field that takes the Start Date + # of weeks = Graduation Date.
A student is allowed to renew for an additional 12 weeks.
I would like to create an automation where the following occurs:
I simply cannot make heads or tails of scriptwriting to get something that works and am hoping someone else can assist. I feel like this is probably something very easy, and I really don’t want to add a few more fields along with messing with the original formula for Graduation Date, if I don’t have to :slightly_smiling_face:
Dec 16, 2021 12:49 PM
Hi Cole. You actually don’t need a script, just another formula field (I hate field clutter too, but I keep stuff like that hidden anyway) that adds 12 to # of weeks. Then, in your action (update record), just set # of weeks to the new formula field. Make sense?
Dec 16, 2021 11:48 PM
Hi,
add script step and set weeks as input variable
use “newWeeks” in next step (Update record or whatever)