Change Task state changes when Change Request state changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2022 06:58 AM
I thought I posted this earlier but I can't seem to find anything so I'll post it again. For Change requests that have tasks associated with them, if the task is in a state other than open (i.e. WIP, etc), when the change request goes from New to Assess, the state of the change task goes back to open. What should happen is that the state of the change task shouldn't change. It should stay at what it was before the change moved to the Assess state. I've tried writing a business rule to set it to the previous state, but it didn't work. Here's what it looks like:
table: change_task
when: after
conditions: change Request.state changes to Assess AND
state changes to open
script:
current.state = previous.state;
update();
I'm scratching my head trying to figure this out but I've had no luck at all. Any assistance is greatly appreciated.
- Labels:
-
Change Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2022 07:09 AM
Hey,
I believe your BR has to be placed in Change request form.
The condition that you are placing won't work, since you are trying to track value change of change state which is just a reference field.
I would rather suggest to keep condition as Change Request.state is Assess and State Changes to Open
and change the BR to before update and remove update() from script
Aman Kumar