How to triggered workflow at multiple stages when SQL data migration

  • 25 June 2020
  • 1 reply
  • 1 view

Badge +6

Hi All,


We have data in other system(Clarity system). We have developed K2 application with Custom database(SQL) and workflow. 


Workflow is triggered on new data added using K2 application. 

Now we want to migrate old data into our SQL and we are ready to migrate it, but when we migrate data into SQL how we can trigerred workflow at different stages based on data.


Is there any script available or do i need to triggered it manually.

1 reply

Userlevel 3
Badge +6



If you want to start workflow with specific data, you can simply use worklfow API (REST API or .NET Assemblies)|Workflow|_____0


If you want to allow do some actions automatically in the workflow (Accept/refused...), you can try to use the tool "Worflow testing tools" from the community:

You will have to generate the corresponding XML file according your data.


Best regards,

Olivier Chatagnon