Home > Forum > Processes > Mass import of data from external system as new elements

Mass import of data from external system as new elements
0

Hi Guys,
just wonder if there is any option to import data into Webcon not into the item list, but as a separate workflow elements. I want to implement Asset Management workflow, but need to enter into the system few thousand items (PC's, servers etc.), which are currently stored in another SQL database.

MVP

As you mention that you have thousands of items, start them in batches , otherwise they will all be started within one transaction....

You can do this by using the TOP n in your SQL Statement. Maybe you can start with top TOP 100 or event TOP 50. Depends a bit how long it takes to start a workflow, which depends on the actions you execute on your path. You might have to try and error a bit.

When using batches you have to keep track, which records you've already imported.
You can to this either by adding a new boolean field, which you then set in the Filter Query. See attached image.

Or you could store the external id in the workflow you started and then use an Not in Statement to filter the already imported records.
However this is not the best idea performance wise.