MSargentini
Nintex Newbie

Calculate next monday

Jump to solution

Hi,

Question: I want to create a workflow which calculate the next Monday no matter when the workflow is started.
I do have now a scheduled workflow which starts at Thursday, then it's easy to calculate the next Monday (add 4 days to the date when the workflow is started)

But now I would like to build a workflow in case the user wants to start the workflow manually.

E.g. the user starts the workflow this week on Wednesday but the next week on Tuesday...

Anyone ideas how I can solve this?

We are using Nintex Workflow 2013 on premise

0 Kudos
Reply
2 Replies
emha
Automation Master
Automation Master

Re: Calculate next monday

Jump to solution

you can use fn-FormatDate() inline function to get name of day from reference date.  based on that you should be able to determine how many day to add up to get next Monday.

the formula might look like this

fn-FormatDate(Current Date,ddd)

View solution in original post

Reply
MSargentini
Nintex Newbie

Re: Calculate next monday

Jump to solution

Thnx Marian!!

0 Kudos
Reply