Skip to main content

I am working with Nintex and created a workflow for the approval of posting a new announcement.  I would like to create a pause if or hold the workflow until the date on the form for posting the announcement.  I cant figure out how to set up that command

this is a screen shot of what I am trying to do  I want it  to pause until the date in the list that was selected when they filled out the form.  Once that date hits I want the announcement to post to a new list in SharePoint.  Is that something that can be done.

198120_pastedImage_1.png 

Hey Denise,

yes, you can configure the "Wait until..." action to use the desired column by choosing "List lookup". But actually I won't recommend this approach, as you end up in having a lot of running workflows in your SharePoint Farm that are waiting to be kicked again by the SharePoint timer service.

I would suggest the following approach:

End the workflow after your "Set permission" action and set up another workflow that creates the elements. Now set up a site workflow that runs everyday and checks if the publishing date of the single announcement is equal to today, if this is true get the ID of the announcement and start the list workflow that creates the elements with the help of the ID.

With this approach, the workflows are only started if really needed, which leads to less problems and a much cleaner environment!

Best regards,

Jan


Jan,

What actions would you use for the workflow.  I am new to Nintex and still trying to learn how to set up the workflows.

Thanks

Denise


Hey Denise,

the list workflow would only continue your create item action. The site workflow would contain the following actions: Query list, For each and Call webservice.

It would look like this:

198139_pastedImage_4.png

With the query list action you get all announcement ID's where the publish date is equal today. You would store the ID's in a collection variable and the iterate through all single ID's. For every ID you would start the list workflow with the "Call webservice" action.

Here you can find some useful information for the single steps ;-)

How to use collection variables

http://nintexdownload.com/Nsupport/tutorials/How%20to%20use%20the%20Collection%20variable.pdf 

How to start a workflow with the Call Web Service action

http://nintexdownload.com/Nsupport/tutorials/How%20to%20start%20a%20workflow%20with%20the%20Call%20Web%20Service%20actio… 

I know this looks a little bit complicated for the moment, but it's going to be worth it!

Best regards,

Jan


Thank you so much we were able to get the workflow created and it is now working


Yeah very cool! :-)


‌ - 

Glad to hear that you were able to get a solution in place! Make sure you mark the question as answered by selecting an answer so that others can quickly find out what works and what you did!

Thanks!


Hello ‌ may I mark ‌ response as correct for you?


Reply