We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Update sequence produces gap

Received Response
4
Views
1
Comments
edited May 14, 2018 5:11PM in Integrations and APIs 1 comment

Content

Hi,
I had a requirement to migrate all the variables from one instance to other, as there is no out of box feature to import variables to a site , I decided to go with custom script. When I'm executing the script, 
I got an API error which says "Update sequence produces gap", I made an analysis on this and found I were trying to set display order to the variable ($variable->DisplayOrder = $this->variableDataArray[$varIndex]['DisplayOrder'];) 
and that  cause the issue, I commented that line and the script executed as expected. This information might help someone who have similar kind of requirement.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!