I'm trying to retrieve the Instance ID of a submitted form in Workflow. I'm using this ID as a unique identifier for our permit numbers, and it works great until I have to get that value in Workflow. I can only retrieve field variables from the form it seems. I'm thinking I could perform a search for the form after it's been submitted to the repository and retrieve the instance ID from the metadata, but I use the instance ID in the file name so it may not be a perfect search.
In the past, I would create a starting rule which triggered when a form was submitted into a particular directory in the repository (instead of using the Retrieve Laserfiche Forms Content activity), and I would include the Instance ID in the template metadata; however, it always ended up being a bit too complicated, and I'd like to avoid doing this for future Forms.
So, is there a way for Workflow to get the Forms instance ID through a variable/token and without requiring additional starting rules/searches?