Back to Basics - No To-Do or Request Data Tasks in O365? No problem!


Badge +6

So one of the questions I am often asked is from folks that would like to automate a process that is task driven but does not necessarily conform to a simple Approve / Reject set of outcomes. In Nintex Workflow for Office 365 there aren't the same task actions as there are on premises. That being said, you will just need to roll up your sleeves, build a new content type and you'll be all set.

 

Not sure exactly how to go about building that content type and configuring the Assign Task action to create this single outcome effect? Not a problem.

 

Below are the steps necessary to make your dreams a reality!*

 

*Please note that you will need appropriate site owner permissions to accomplish these steps and I cannot guarantee ALL of your dreams will come true. At least the ones that involve tasks assigned with Nintex Workflow. happy.png

 

  1. Navigate to Site settings in the context menu under the cog / gear.
    184242_pastedImage_2.png
  2. Click on the Site content types link.
    184243_pastedImage_11.png
  3. Click on Create.
    184244_pastedImage_12.png
  4. Go ahead and give your new task content type a friendly name, description and link it to List Content Types / Workflow Task (2013) and then click OK.184245_pastedImage_13.png
  5. Now click on the existing Task Outcome column.
    184246_pastedImage_14.png
  6. Now in the Change Content Type Column screen, click on Remove.184247_pastedImage_15.png
  7. Click Ok in the warning popup.
    184249_pastedImage_18.png
  8. Now click on Add from new site column. Note that you can remove extraneous columns at this point if you so choose or just leave the default columns alone. It's your choice based on the situation.
    184250_pastedImage_19.png
  9. Now go ahead and fill out the create the new outcomes site column configuration screen. Note that the critical part of this step is that you must select Task Outcome for the column type so that the Nintex Workflow designer can pick up the task outcome. Feel free to use a unique name so that you can use it in this workflow but not others. Again, this will depend on how you would like to use this new task content type.184251_pastedImage_26.png
  10. Click on OK to save the new column.
    184252_pastedImage_27.png
  11. Now, navigate back to the site/list/library where you would like to build your workflow and open the Nintex Workflow designer. In the Workflow Gallery open an existing workflow or create a new one.
    184253_pastedImage_28.png
  12. Once inside of the designer, drag and drop the Assign a Task action to the canvas and open its configuration dialog by double clicking on the icon or clicking on the Configure in the drop down menu.
    184254_pastedImage_29.png
  13. Inside of the configuration dialog, scroll down to and click on Use existing predefined content type.184255_pastedImage_30.png
  14. Click on the Content Type drop down and select the new custom task content type you created earlier, in my example it was Request Data Task.184256_pastedImage_31.png
  15. Notice how I only see the single outcome we defined earlier, Completed.184257_pastedImage_32.png
  16. Now click on Save and you should see an Assign a Task action with a single outcome, which I have renamed to reflect its new functionality.
    184260_pastedImage_0.png

 

That's it!  Now you can feel free to customize the task form and make any adjustments you see fit to make this task do exactly what YOU want it to do. That's the power of Nintex Workflow. Naturally.


5 replies

Badge +7

Thanks Brad, this is really helpful.

Userlevel 4
Badge +8

Great article! 

Badge +1

It seems like even when it is set as optional, the field is required on the task form. I want to have it not required and just check for task status changes. Is that possible?

Badge +3

Thanks, @brad_orluk, for a post I'll use often.  I have a few comments to make, based on my experience setting this up.


 


I suggest an additional step between 10 and 11:  Open the list settings for the Task list that is, or will be, used by your workflow.  Under Content Types, click Add from existing site content types.  Scroll through the Available Site Content Types list, select your new custom content type, and click Add >.


 


Add to step 11:  If your workflow is already open, you must close and reopen it to register the addition of the new content type; otherwise, it won’t show up in the dialog in step 14.


 


Finally, I'll build on @lfreeraz's comment.  If one intent of this exercise is to avoid having the Task Outcome control in a custom form, it’s not so simple in O365.  Without it, the task form will fail to submit data and kick back a useless correlation ID and non-descript error message.  It must be present on the form.  To resolve the issue, insert the form control for your custom task outcome, if it isn’t already on the form.  I put mine in some whitespace area of the form.  In the control’s settings, under Appearance, set Visible to No.  You won’t see the control in the rendered task form, but now the form will submit.

Badge +6

Hi this is great, but I don't understand why the Task Outcome is defaulted to "Completed".  What if the assignee simply wants to make some comments on the task form or mark the % complete.  The task is still in progress.  Shouldn't the Task Outcome default therefore be blank until the assignee marks the task complete?

Reply