On PTASK table, when Assignment Group changes, automatically it should set back the State to "New"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
14 hours ago
Good afternoon.
Requirement is: On PTASK table, whenever we change the Assignment group and save the record, it should set back the state to "New", if the States are in Assess or Work In Progress.
1) I tried using Client Script, but it worked only on Front-end and after record saving, it again sets back the earlier state and gives an error message as below:
Invalid state transition. Can not update from state 'Assess' to state 'New' with given values.
2) I tried to create a new State Model for PTASK for "New" State but it does not change the State to "New", upon Assignment group change.
3) I also created a Business rule that sets back the PTASK State back from "New", "Assess" and "Work In Progress", to "New", upon Assignment group change, but this too, does not work.
It always gives me the above error.
Please help, as I tried but nothing works. I would be grateful for this.
@Ankur Bawiskar @Dr Atul G- LNG @Viraj Hudlikar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
13 hours ago
Hi @Ankur Bawiskar ,
It was in Assess state, when the Assignment group was changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
13 hours ago
Since you are moving from Assess -> New, there is no state model to handle this
Create 1 for New and Enter Condition: State [IS] Assess
Then try
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12 hours ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12 hours ago
will have to check in my PDI once.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10 hours ago
@Ankur Bawiskar , yes please. That will be really helpful.
