- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2020 04:48 AM
Hello Team,
I have created new custom table in that I have added state field with below choices
New, In progress, On Hold, Resolved, Closed & cancelled. Here I have trying to add buttons on the form
Resolve, Reopen, cancel & close. I have tried to create Resolve button on the form button it's not changing the state field value I have written below script include and Script in ui action as well but didn't worked and I have checked state model it's fine.
Can anyone help me where I went wrong.
Thanks,
Chaitanya
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2020 06:25 AM
It will appear as you are just changing the tranistion here and allowing the ticket to move to resolve state from new state.
You can check the condition in the ui action to appear in the states.
Can you try putting the condition in the ui action to appear in the new state. ti will work.as we are just changing the transition into the ui action condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2020 04:54 AM
Hi Chaitany,
Have you defined any state flows or state models. or any script include where you have defined the state transition.
There you have to mention the transition from the states like from which states it should go to which states.
The error shows you are not doing the valid transition flow so make sure that the tansition is valid
Mark helpful and corrects.
Thanks,
CB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2020 05:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2020 05:29 AM
Hi Chaitanya,
This is just the states definition. Have you define any state model or state transition or state flows.
Like from which state it should go to which state.
like we have for change state model.
Thansk,
Cb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2020 05:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2020 05:45 AM
Hi Chaitanya,
you have to define the entry state as well for the new. (That is why you were getting error)
since you are moving the state of resolved from new state.
And in resolved state the enter state is 2(i believe not new ).
so can you please update the entry condition in resolved to ( 1 or 2 ) i.e. New or any other state.
Make change here
Mark helpful and correct if it helps
Thanks,
CB