I know you can find the ID using this:
How to find the WorkflowId
but how can I find this with either script or code?
I'm currently exporting and importing workflows with the rest api. but I'm having a hard time publishing them because I cant find their ID.
Perhaps this is useful >>> https://community.nintex.com/message/22844?commentID=22844#comment-22844