Getting invalid update error with new Change Request type in Kingston
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2018 11:40 AM
I created a new Change Request type following the instructions in the documentation (Kingston version) but I'm getting an "invalid update" error message. The documentation isn't 100% correct, step 2 states "Click New in the Answers related list and select Simple question to redirect the URL". This doesn't exist in the Kingston version so I picked ask the user to answer a simple question. I completed the rest of the steps without any problem.
My new type (latent) goes from "new" to "review". It does work and moves to Review as I expected but at the same time I get "Invalid Update" as an error. I have spent a few days debugging trying to find where the error message is coming from but I can't find it. Does anyone have any idea 1) where it is coming from and 2) is there something missing in the documentation that is causing the error?
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2018 01:14 PM
my initial hunch is that it is coming from a Business rule called "State model - Can change state?" when you see invalid update, that means the action was aborted, and this business rule aborts the action without displaying any error message as to why, so I suspect that BR is the reason.
Now, the reason it is failing is probably because of the ChangeRequestStateHandler script. This appears to extend the ChangeRequestStateHandlerSNC script, and you can see from the resetModel function in that script that it expects the change to have one of the 3 OOB types.
I think it still isn't working after completing all of the steps in the documentation, you may need to review the new script includes you created. or attach them here for review.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2018 04:25 AM
What is the use of the "State model - Can change state?" business rule, why we need?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2018 08:02 AM
Thanks Jon, that pointed me in the right direction to find the error. I forgot to modify what stage the change could move to in the ChangeRequestStateModel_latent script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2019 11:28 AM
Hi. thanks for this post.
I have exact same behavior (added a new change state, add BR to try to move change state, got 'invalid update'). I am a newbie so can you please expand on what you actually did in the ChangeRequest script to insert/allow the new state?
Thanks in advance - Jeff