Updating Workflow Extension DefinitionsSOLVE
I have some questions regarding updating workflow extension definition.
1. The documentation states that the definition ID is required in the PUT url, and it is also required in the json payload - why?
2. Though not stated in the docs, both the 'version' and 'latestVersion' fields are required in the payload (without them the server returns error). I have several questions here:
What exactly are these fields and how do they work? Why would I need to supply the 'latestVersion' in my update command? Shouldn't this be calculated intrinsically? Also, no matter what values I supply for either during an update (including invalid ones), the definition gets updated and the latest values of 'version' and 'latestVersion' get incremented, and always match. Also, when I get and list all definitions, only a single (the latest) version of each definition appears to exist. Shouldn't all versions be on file?
Solved! Go to Solution.