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.
If you want to start workflow with specific data, you can simply use worklfow API (REST API or .NET Assemblies)
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.