Skip to main content

I am trying to do a field update in the action frame work with a Date field.  I would like to set a date field to be 2 months in the future.  I created an action - Update a field on row, select the date field to update, for Value select ‘Next n Days’ and enter 56 for the day value.  When the frame work runs it does not appear the date field gets set.   It does appear to work if I set the date field to a specific date.  Any suggestions?  

I’m not sure, but I think ‘next n days’ is technically a range between now and the next 56 days. I don’t think that you can use that to set a specific date 56 days from now.

You’ll probably have to use some javascript:

d = new Date();
d.setDate(d.getDate + 56);
skuid.time.getSFDate(d);


… or something like that.


Did you ever solve this all the way? If so, could I see a code sample?


Reply