Why isn't my Change State transitioning automatically?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 12:03 PM
I have modified our Change Request to use the Change Model transitions but the OOTB one that goes from Implement to Review is not automatically transitioning. I have setup the Transition to be automatic with no conditions and yet it still don't work. Where can I look to try and troubleshoot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 01:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2022 04:18 AM
I tried putting a condition too but it still didn't work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2022 02:37 AM
It looks like there is one Business Rule missing to run the Automatic Change Model transitions.
I'll create a case for this.
As workaround I created one new BR on change_request for insert and on update:
Condition: Model is not empty
Script:
(function executeRule(current, previous /*null when async*/) {
var changeModel = new ChangeModel(current.chg_model.getRefRecord());
changeModel.applyAutomaticTransition(current);
})(current, previous);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2022 11:48 PM
Hi,
Have you verified that you have a flow with the action Evaluate Change Model triggered for this state transition?
Regards