Skip to main content
Nintex Community Menu Bar
Question

Question concerning field updates using Date values

  • July 9, 2024
  • 2 replies
  • 14 views

Forum|alt.badge.img+6

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?  

2 replies

Forum|alt.badge.img+18
  • 2192 replies
  • July 9, 2024

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.


Forum|alt.badge.img+8

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