ui action on draft

solanovale
Tera Contributor

 i am trying to make a ui action on the change table on the service portal view to help users fill in the form. The logic works my problem is that i cannot get the button to show when the change is on draft, it only shows when it is pending approval and the whole point is for it to be on draft to help user's autofill the info on the form. Any ideas on how to archieve this?

1 REPLY 1

JenniferRah
Mega Sage

I'm not sure what you mean by "draft", unless that's perhaps a custom state in your environment.

 

In the "condition" field of your UI Action, what do you have there? If you want it to show for a change that is in New state, the condition would look like this: 

current.state=-5