We have site collection with data in it with workflows2013 that have app steps. Task was to create site collection on another WA with same data as old SC, so we created new site collection and new db and did back up and restore to new SC.
Everything is ok, but workflows 2013. We noticed that site app permissions for workflow are copied from old SC and what ever we tried it did't work.
I found same/similar problem at this topic but what helped poster, didn't to us as we did same thing.
Any suggestion how to get new guid indipendant from old SC for workflow app step? Or any suggestion at all how to publish workflows?
Edit 1: What we found out is that in site app permission, for workflow app identifier is id of original site, not the newly created. Is it possible to change this (the app identifier)?