cancel
Showing results for 
Search instead for 
Did you mean: 
Nintex Newbie

Check Todays Day of the Week

Jump to solution

Hi there, 

I currently have a workflow where I need to get the current day of the week (Mon,Tue,Wed etc), so that I am able to add the correct amount of business days before the workflow auto approves.

I was previously using an API to retrieve this, but it seems that API stopped working. I would prefer to use an in house Nintex function, and wondered if this was possible?

Thanks for your help!

Labels: (1)
0 Kudos
Reply
4 Replies
Community Manager Community Manager
Community Manager

Re: Check Todays Day of the Week

Jump to solution

@JimOw are you trying to get that data within the workflow or in a form?

0 Kudos
Reply
Nintex Newbie

Re: Check Todays Day of the Week

Jump to solution

Hi @butlerj , thanks for replying!

I am trying to get this data within the workflow.

I get the day of the week, previously using the API, and then depending which day of the week it is, add on days for the auto approval process. The DueDate is sent to another workflow.

0 Kudos
Reply
Community Manager Community Manager
Community Manager

Re: Check Todays Day of the Week

Jump to solution

@JimOw Yeah so you can do this with a combination of two actions within your workflow. The first action will be the Format date to string action, and you will use the following configuration to get the current date (from your Context variables) with the day name:

CurrentDate.png

 

After that you can use the Regular expression action to then parse off just the name of the day into it's own variable with the following configuration:

regularexpression.png

 

I used the following regex expression, but you might be able to come up with something better: ^([^,]*)

 

Hope that helps!

 

 

View solution in original post

0 Kudos
Reply
Nintex Newbie

Re: Check Todays Day of the Week

Jump to solution

Perfect! That worked exactly how I had hoped. I've been searching for a solution for ages, thank you mate!

Reply