How to Change state on request using button on custom table

Chaitanya Redd1
Tera Guru

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.

 

find_real_file.png

find_real_file.png

 

find_real_file.png

Can anyone help me where I went wrong.

 

Thanks,

Chaitanya

1 ACCEPTED SOLUTION

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

 

View solution in original post

11 REPLIES 11

Thanks but still Resolve button is visible when state changes to Resolve then close button has to appear right but it's not hsowing.

 

Thanks,

Chaitanya

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