How can I check the version of my function in the process? I know that the latest function version was saved when I saved the process, but I want to know what the previous version was because my current process is in error. In an earlier version, everything was working fine, and I would like to revert my function to that version and save the process again with that version.
- Emb asked 4 months ago
- You must login to post comments
Hello, in the folder %appdata%/Robotiq/ProcedureStoragePath, you can find the Functions that your process is using. Inside this folder, you will locate a JSON file that is created each time you run the process (look for the file with “-procedures” in the name). This json contains all the Functions executed during your process, and it will be easier for you to format this JSON file for better readability.
To find the function ID you are looking for, search for the function of interest within this JSON file. Look for the field “Id” where “StepType” is set to “DefineFunction.” This information is typically located at the end of the function. The ID you find there is your function version ID.
Next, you can go to HQ, open your function, and access the Developer Tools by pressing F12 and choose Network. From there, choose an older version of your function. Click on the number associated with the version of your function (for example, {;}3 if you choose version 3 of your Function) and select the “Preview” option under the tab. Expand “procedureInfo” and compare the “defineFunctionStepId” with the ID you found in your JSON. If the ID matches, then that is the version of your Function that your process is using.
- Community Admins answered 4 months ago
- You must login to post comments
Please login first to submit.