Nintex Workflow Migration from on premise to Office 365


Userlevel 7
Badge +17

Recently I've been involved in that project, where data and information that was being created for years in on premise SharePoints had to be migrated to the sharepoint online environment in office 365‌. All migration was said to be a simple, straightforward and easy due to the usage of sharegate, but... the real truth turned out to be way more dark.

Before the real migration started I sat down and started reading about the process and possible obstacles. I can now divide them into 3 groups:

  1. Limitations of Sharegate
  2. Limitations of SharePoint Online
  3. Limitations of Nintex for Office 365.

First things first. I will guide you through all and each from them.


Limitations of Sharegate

Sharegate is a really great tool. Honestly. It saved me dozens of hours but as well made me frustrated. But still it is great. It really allows not straightforward migrations to be possible (like from SP2007 directly to SP2013 and so on), is the only tool that allows automatic migration from on premise to online, allows migration of sites, users, managed metadata and many, many more.

Currently Sharegate supports migration of 30 actions that are present in on premise (source: Nintex FAQ – Sharegate):

Action Name On Premises Mapped Action in Office 365
Action Set Action Set
Assign Flexi task Start a Task Process
Calculate date Add Time to Date
Change state Change State
Check in item Check In Item
Check out item Check Out Item
Convert Value Convert Value
Create item Create List Item
Delete item Delete Item WM Action
Discard check out Discard Check Out Item
End workflow Terminate Current Workflow
Filter Filter
Log in history list Log to History List
Loop Loop with Condition
Math operation Do Calculation
Pause for... Pause For Duration
Pause until... Pause Until
Query List Query List
Regular expression Regular Expression
Run if Run If
Run parallel actions Parallel Block
Send notification Send an email
Set a condition Conditional Branch
Set field value Set field in current item
Set variable Set Workflow Variable
Set workflow status Set Workflow Status
State machine State Machine
Switch Switch
Twitter Tweet Twitter Tweet
Update item Update List Item
Yammer Message Yammer Message 
Build String Build String
For Each For Each
Commit Pending Changes  ---

To use Sharegate you have to really review each from your workflows and re-build it, so that you can expect that it will be migrated. Note, that:

  1. there are some crucial actions, that are totally unsupported but can be "workaround".
  2. there are actions that just cannot be migrated and must be re-created after the migration.

What to do with them? I recommend the following approach:


BEFORE MIGRATION

  1. user defined actions - During migration they will be replaced with a blank placeholder leaving you with nothing. All actions from inside will be lost. I recommend converting them into a "Run If" action block (which is "migrate-able") and putting all actions from UDA inside it. Then if I needed to reuse those actions replacing UDAs. Oh, and the rule to execute it was always set to "true".
  2. query list must have a defined number of rows to be returned. Field cannot be left empty. Oh, and by default querying list is always "recursive" in O365
  3. action set is not supported as UDA. See point no. 1 how to resolve.
  4. for each loop actions are as well not supported as UDA and Action Sets. See point no. 1 how to resolve;
  5. workflow constants are not supported in Nintex for O365, thus Sharegate cannot migrate them. You should either remove them, turn them into workflow variables or create a SP List to keep them (so if you are using them in many workflows) and then just query the list.
  6. workflow context‌ variables - some are not supported in Nintex for O365, thus Sharegate cannot migrate them (like the one with Approval Comments). You should either replace them with a workflow variable, or remove because may cause troubles during migration;
  7. inline functions - are not supported in Nintex for O365, thus Sharegate cannot migrate them. You should either replace them with a workflow variable, or remove because may cause troubles during migration;
  8. commit pending changes‌ - this action is not present in O365 as the architecture is different. Actions are not grouped and executed with batches. Everything goes synchronously. All such actions should be deleted before.


AFTER MIGRATION

On premise action Office 365 action counterpart Remarks
Query/ Update XML Query/ Update XML

Actions are not supported because of the architecture differences. Sharegate will migrate them as a blank placeholders.

User Profile actions Office 365 User Profile actions Sharegate will migrate them as a blank placeholders.
flexi task Start a task process/ Assign a task (based on how many approvers you have) No "To Do" task either. You cannot set mail priority, you cannot chose to which from "assigned" user the notification will be sent, you cannot delegate (workaround: https://community.nintex.com/community/build-your-own/blog/2015/02/26/delegation-in-o365aA), you cannot calculate time to send reminder. Oh, and you cannot attach files to the notification message. Some workarounds are possible after the migration, some are not available at all.
search query‌ Office 365 Search Query Sharegate will migrate it as a blank placeholder.
dynamics crm‌ "Dynamics CRM" actions Sharegate will migrate it as a blank placeholder.
convert document action‌ "Document Generation" Sharegate will migrate it as a blank placeholder.
set item permissions  Office 365 update item permissions Sharegate will migrate it as a blank placeholder.
Update document No direct counterpart Sharegate will migrate it as a blank placeholder.
Create item in another site Office 365 Create List Item or Document Set Sharegate will migrate it as a blank placeholder.
Update/ Delete multiple items Possibly by some HTTP Request call Sharegate will migrate it as a blank placeholder.
Build string Build string Action is not supported for migration because of the architecture differences. Sharegate will migrate them as a blank placeholders.
Collection operation By a proper Collection operation Actions differs. There is a dedicated "Collection operation" per each operation, not one for all as in on premise. Sharegate will migrate them as a blank placeholders.
Store/ Retrieve data No direct counterpart There is no possibility for the workflows in O365 to "talk" with each other. Consider change of the workflow design.
Start workflow Start workflow Action is not supported for migration because of the architecture differences. Sharegate will migrate them as a blank placeholders.
Create site collection By a proper Office 365 create site collection  
Delete site  By a proper Office 365 delete site   
Delegate workflow task By Assign a task and custom work For example: https://community.nintex.com/community/build-your-own/blog/2015/02/26/delegation-in-o365 
Request approval Office 365 set approval status  Action is not supported for migration because of the architecture differences. Sharegate will migrate them as a blank placeholders.
And many, many more... Read the attachment happy.png    

Complete list of "non-migratable" actions is listed here: Nintex FAQ – Sharegate.


Limitations of SharePoint Online

One and the most irritating limitations are the thresholds (Software boundaries and limits for SharePoint 2013). And in Online you CANNOT CHANGE THEM.  Be aware of them and don't get angry when migrating:

  1. Workflow file cannot exceed 5MB - (source: https://community.nintex.com/message/57706-re-what-is-the-default-limitation-in-nintex-for-exporting-a-workflow?commentI…) that simply means, it shouldn't have more than 100 actions inside.
    HOWEVER I had a "pleasure" to migrate workflows having like 5 actions without a success and so far I have no idea why Sharegate was reporting errors when migrating.
  2. Infopath file cannot be larger than 5MB (be aware if you have forms with attachments).
  3. List/ library cannot hold more than 5.000 items. If you do exceed it during the migration, be prepared to observe abnormal behavior of your tenant.

Limitations of Nintex for Office 365

Those limits have already been described during in the "Sharegate limitations" - those limits are most often caused by the differences in the SharePoint Online hosted environment limitations, thus some actions were just impossible to be re-created and had to be done from a scratch, some has different architecture and cannot be directly migrated. And still, there is a huge lack of functionality in Nintex for Office 365:

  1. There is no conditional start for workflows, however it can be replaced with

    Conditional Start is present in NWO365 since January 2018

         
  2. There are no site scheduled workflows, but you can workaround it by either using 3rd party: Plumsail Workflow Scheduler or simply work them around: Scheduled Workflows in Office 365;
    Scheduled Workflows are present in NWO365 since end of July 2017
  3. When comparing you are more than often not able to verify if a value "is empty". You can only compare whether it equals or not (but you cannot set equation to nothing );
  4. No "workflow constants".

    Some functionality related to "Workflow Constants": Connection Manager, allowing workflow designer to define credentials that will be then used to authenticate all "Office 365" actions, across a tenant, is present in NWO365 since February 2018.

  5. No "inline functions".
  6. No "UDA" actions.
  7. No action sets. 
    Action Sets are present in NWO365 since end of June 2017
  8. No support for custom actions.

Summary

I just felt that this post cannot end up like this. So there is a hope for all of that. Both Sharegate and Nintex are working to develop their products - Sharegate to support migration for new actions (I heard UDAs and Action Sets are on their roadmap), what is Nintex working on you can find here: 3 - Nintex Workflow for Office 365: Hot (300 ideas) – Customer Feedback for Nintex.

I wish you all all best in your migration projects

If you have any questions or stories you'd like to share feel free to leave them in comments. I'm sure there are more issues I am not aware of yet.

Regards,

Tomasz


34 replies

Badge +8

Hi Tomasz,

Great post, thanks for sharing your insights!

Glenda

Userlevel 6
Badge +12

Lovely write-up Tomasz,

Migration is always bigger than what people expect.

Tools like Sharegate make the actual migration process more streamlined and much faster but the thing that always seems to take the most time is the analysis of the existing content/workflows and what you actually want to do with it!  Sharegate certainly helps out here too with pre-check reports that identify the potential issues that will be encountered.

Cheers,

Chris

Badge +9

Great Post ‌ ..thanks for sharing 

Badge +3

Excellent post - we'll be using the lessons learned you've published which will really help us fix some of these issues upfront.

Tomasz-

Just wanted to let you know that this is information is very informative and i am thankful that you posted this! ‌...I am in the process of sizing a migration and this will help tremendously!

Userlevel 7
Badge +17

I am glad. Very glad to read such nice words  Thank you - this is what this information is here for - to help you with migration which is really not very straightforward, but full of traps

Regards,

Tomasz 

Userlevel 3
Badge +9

No UDA's? Uggh!  I use those all the time.  

Userlevel 3
Badge +9

‌, do you know if there are any plans from Nintex to add support for the missing features that you mentioned (UDA's, Inline functions, etc.), or if there is something that will replace it?

Userlevel 3
Badge +9

It looks like Action Sets (# 3 before migration) are supported in O365  

Userlevel 6
Badge +12

HI Brendan,

From what I can tell, the component workflows introduced at the xchange conference are effectively UDAs for o365.  Not sure about inline functions though.

Cheers,

Chris

Userlevel 7
Badge +17

Thanks. Fixed already

Err no. Not fixed. That chapter is related to Sharegate limits, and tells how to overcome migration of not supported actions. And as far as I know, action sets despite their availability in O365 are not yet supported by Sharegate during migration.

Userlevel 7
Badge +17

Regarding the inline functions I saw them on some roadmap, but not sure when are planned to arrive. And IF

Now what Chris Ben wrote is true - as UDAs that we know from on-premise are not going to arrive, there is going to be something different - the "Component Workflows" is going to bring you the functionality of creating subworkflows, to which you will be able to pass data and then wait for their outcome. Just remember what is your subscription quota

Regards,

Tomasz

Userlevel 4
Badge +6

Hey ‌ thanks for this really great blog post! This is a perfect reference for anyone planning on doing a migration. ! I did a migration earlier for a little side project I am working on, and my action sets pulled through, I think this is supported now


Userlevel 7
Badge +17

Hi ‌,

That is true action sets are now available in Office365, however the article tells about the migration you can do with Sharegate. I see they did an update month ago, updating what is supported. Now I need to review it. Thanks for the hint! 

Badge +2

Great info on workflows but what about Nintex Forms where data is not stored in a sharepoint field only in a Nintex form field. How is this handled to get the data across and visible in the O365 ? what is the best tried and tested method for this. Appreciate any info. Many thanks.

Is delegation still available in "flexi Task" Start a task process?

Userlevel 7
Badge +17

No, there is no such feature as "delegation" in Office 365. As well as possibility to decide which assigners should receive a notification.

Userlevel 7
Badge +17

Updated

Badge +2

Hi Tomasz Poszytek‌,

This is a great post and I really do appreciate your efforts on getting this together because it is a great article for people who are looking at doing the same exercise.

One question I had was did you experience and issues with migrating any onprem mobile forms to the cloud using the Sharegate tool? if so what is the experience you had. I am planning to migrate some forms that we have created onprem in out SP2013 environment and many of them are coupled with a mobile form.

Cheers,

Shanaka.  

Badge +2

Thank you!!!!

Nice starting point for an upcoming project. I'll send some updates if needed.

Greets,

Peter

Userlevel 7
Badge +17

Hi,

no, I haven't had migrating mobile forms to O365 yet. Only regular, desktop forms. But migrating forms is far more stable and predictable than workflows. In fact, there are only three controls not supported (sql web request, request and list view).

However as I recall they are not supported in mobile forms as well, as they're not compliant with offline functionalities, thus I guess you are not using them as well.

Be sure to review your forms after migration


Regards,

Tomasz

Badge +2

Thanks Tomasz,

I will thanks for your tip . The biggest problem I am experiencing right now is that when you migrate forms with mobile layouts that are not supported or available on O365, it creates a ghost from.... the forms starts appearing on the Nintex app but not on the SharePoint side to edit or delete. This is very frustrating because if you are doing a direct migration from production to O365 you are not able to delete the mobile forms so you need to stage the forms in a different location, delete the mobile forms and then move to O365. Do you have any recommendations or insights on forms that are ghosted on O365? how to access them and delete them? 

Cheers,

Shanaka

Badge +2

Make sure you don't have unbound fields in your on prem Nintex forms. The data won't migrate if you have unbound fields.

Userlevel 6
Badge +15

Great post as always, Tomasz!

Running a ShareGate migration from On-Prem to O365 surprised me. There is a lot where Nintex/Sharegate tell us there is parity -- but there isn't. Even when an action successfully goes 1:1, there are SO MANY "little" things that aren't supported in O365. Here are some examples from a recent migration:

The parameter 'Outcomes Comments' of the action 'Resubmit Request' will be ignored because it is not supported by Nintex Workflow for Office 365.
The parameter 'Item permissions' of the action 'Resubmit Request' will be ignored because it is not supported by Nintex Workflow for Office 365.
The parameter 'Notification Delivery type' of the action 'Resubmit Request' will be ignored because it is not supported by Nintex Workflow for Office 365.
The parameter 'Notification Attachments' of the action 'Resubmit Request' will be ignored because it is not supported by Nintex Workflow for Office 365.
The parameter 'Notification From, CC and BCC' of the action 'Resubmit Request' will be ignored because it is not supported by Nintex Workflow for Office 365.
The parameter 'Reminders Time calculation' of the action 'Resubmit Request' will be ignored because it is not supported by Nintex Workflow for Office 365.
The parameter 'Body' of the action 'Resubmit Request' contains a contextual variable 'LastTaskRespondentDisplayName' that isn't supported on Office 365.
The parameter 'Body' of the action 'Resubmit Request' contains a contextual variable 'AllApproverCommentsHtml' that isn't supported on Office 365.

That's just a snippet from a full page of those from one relatively small workflow.

Additionally, if there is an Action they DON'T support in the migration -- and it has branches? Goodbye, branches. Ie, you have a "Request Data" and have 3 branches with several actions within them depending on outcome, they are all gone. SMOOSHED into NOTHINGNESS. That was kind of a shock - I thought they'd be safe in some way. 

Userlevel 7
Badge +17

You welcome. I wrote about it. Unsupported actions are replaced by blank placeholders. So is everything underneath lost.

That small piece of log you pasted - it is all related to missing functionality in flexi task, that is not present in Office365.

Regards, 

Tomasz Poszytek 

Reply