Solved

Send an email to responsible(s) in accordance with item selected in the "definied" field

  • 8 December 2016
  • 4 replies
  • 51 views

Badge +1

Who can help me with the creation of Nintex O365 workflows?

When I save the Nintex form I want that workflow run as follow:

1. Send an email to responsible(s) in accordance with item selected in the "definied" field.
2. This person when receive this email, will approve or reject the form.
3. If form is approved: workflow run the function Document Generation to create and edit a document in Word (*.docx) with the fields filled in the form (Using a predefined template).
4. If form is rejected: The form must return to the requester to be corrected.

I've read several manuals, but I still do not have experience working with workflows.

Best Regards,
Chiaretto

icon

Best answer by TomaszPoszytek 9 December 2016, 12:21

View original

4 replies

Userlevel 7
Badge +17

HELITON CHIARETTO‌ I think you have to provide here some more details. I will try to break-down your description and then you tell me if it helps. For the start - I would suggest to use a "state machine" (and a boolean variable telling if any changes to the request must be made) so that you would be able to go back to the requester as long, as you want

1. Send an email to responsible(s) in accordance with item selected in the "definied" field.

What I understands is that you have some sort of a form where user can choose value. Then based on the value that is chosen a different approver/ responsible person is taken. 

If I'm correct then what I suggest here is to assign the person e-mail to a variable, let's say - CurrentApprover. Then workflow moves to a state dedicated for the Requestor where actions can be put like "Send email" confirming Requestor, that his request is in progress.

2. This person when receive this email, will approve or reject the form.

Now I guess as you have the current approver selected you use an action "Assign a task" with two outcomes - Approve or Reject. The action sends an e-mail to the selected approver. You can as well mark the "Lazy Approval" option so the user is able to approve or dissapprove using "Reply to this e-mail" option and writing a proper response (more hrere: LazyApproval in SharePoint Online (Office 365))

3. If form is approved: workflow run the function Document Generation to create and edit a document in Word (*.docx) with the fields filled in the form (Using a predefined template).

When user approves a task then workflow moves to the "Approved" branch where you should place "Document Generation" action and configure it properly.

4. If form is rejected: The form must return to the requester to be corrected.

Now you need to go back to the "Requestor State" but with a different actions in a "Conditional Branch" action (based on the value of the boolean variable) and then waits for the form to be updated.

I see the workflow like the one below:

I really hope it helps you 

If not - post a reply!

Regards,

Tomasz

Userlevel 7
Badge +17

Hi! Do you find my answer as "Correct"? Did it help you? Or maybe you have found a better solution you could share with us?

Regards,

Tomasz

Badge +1

Thank you so much for your answer. My Nintex Form to get approvals and generate contract automatically is running successfully.

Your instruction about how to send an email to responsible for accordance, I am looking for the same information because I have Hotmail account and I need this kind of information for exploring the concept of Mailing account.

Thanks,

Hotmail Support Number

Reply